system tests: scripts depend on bash extensions 85/200385/5
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 21 Feb 2019 14:55:19 +0000 (15:55 +0100)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 26 Feb 2019 13:39:18 +0000 (13:39 +0000)
Even if given script does not explicitly use bash extensions it
sources minicore-utils.sh, which do require bash.

Change-Id: I1689531bf9f9a60f0e2c607dad504d92c5419fba

12 files changed:
packaging/crash-worker_system-tests.spec
tests/system/check_minicore_mem/check_minicore_mem.sh.template
tests/system/cmp_backtraces/cmp_backtraces.sh.template
tests/system/crash_root_path/crash_root_path.sh.template
tests/system/info_file/info_file.sh.template
tests/system/log_file/log_file.sh.template
tests/system/report_type_info/report_type_info.sh.template
tests/system/run.sh.template
tests/system/so_info_file/so_info_file.sh.template
tests/system/time_test/time_test.sh.template
tests/system/wait_for_opt_usr/wait_for_opt_usr.sh.template
tests/system/without_core/without_core.sh.template

index efbee08..11d644a 100644 (file)
@@ -20,6 +20,7 @@ Requires:      diff
 Requires:      gdb
 Requires:      coreutils
 Requires:      tlm
+Requires:      /bin/bash
 
 Requires:      crash-worker
 Requires:      %{_sbindir}/minicoredumper
index 627088a..5ad2382 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Minimal coredump MUST consume less than 100MB, assuming it is created from
 # process with maximum number of 8 threads.
index 11142e9..ecf3d77 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Functionality to create minimal coredump MUST be provided.  It MUST have
 # following properties:
index 2e5e227..b98b6a9 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Check correction of the *.info file
 
index 26b852f..f032f15 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Check correction of the *.log file
 
index b8bd498..236151c 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 TESTS=("check_minicore_mem" "cmp_backtraces" "info_file" "log_file"
        "report_type_info" "critical_process" "time_test" "wait_for_opt_usr"
index 8a78090..5df1cee 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Minimal coredump SHOULD complete within 5 seconds.
 #
index fb35e84..7c00b99 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Crash worker SHOULD create minimal coredump when process crashed before
 # /opt/usr (user partition) is mounted.  Crash worker MAY create it in temporary
index 18f92a9..be8869c 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Test of generating a report without coredump file