diff options
author | Shaoyong Wang <shaoyongx.wang@intel.com> | 2012-08-21 20:37:58 -0400 |
---|---|---|
committer | Chen Gong <gong.chen@linux.intel.com> | 2012-08-24 02:53:30 -0400 |
commit | 209568e38e58680f38009de2ed80f022fe8404cf (patch) | |
tree | a1ce1aaff09f189a26ea39a936c93407afda82ce | |
parent | 85774fa104d86af2a75332d2c2851e98e3840c4d (diff) | |
download | mce-test-209568e38e58680f38009de2ed80f022fe8404cf.tar.gz |
Use BASH as default shell script interpreter
Some test scripts can't be recognized well on some Linux OS,
such as Ubuntu. Change default *sh* to *bash*.
Signed-off-by: Shaoyong Wang <shaoyongx.wang@intel.com>
Signed-off-by: Chen Gong <gong.chen@intel.com>
-rwxr-xr-x | cases/coverage/soft-inj/run_driver.sh | 2 | ||||
-rwxr-xr-x | cases/coverage/soft-inj/run_simple.sh | 2 | ||||
-rwxr-xr-x | cases/function/apei-inj/runtest.sh | 2 | ||||
-rwxr-xr-x | cases/function/core_recovery/runtest_dcu.sh | 2 | ||||
-rwxr-xr-x | cases/function/core_recovery/runtest_ifu.sh | 2 | ||||
-rwxr-xr-x | cases/function/core_recovery/srar_recovery.sh | 2 | ||||
-rwxr-xr-x | cases/function/hwpoison/run-transhuge-test.sh | 2 | ||||
-rwxr-xr-x | cases/function/hwpoison/run_hard.sh | 2 | ||||
-rwxr-xr-x | cases/function/hwpoison/run_hugepage.sh | 2 | ||||
-rwxr-xr-x | cases/function/hwpoison/run_soft.sh | 2 | ||||
-rwxr-xr-x | cases/function/hwpoison/run_thp.sh | 2 | ||||
-rwxr-xr-x | cases/function/pfa/load.sh | 2 | ||||
-rwxr-xr-x | cases/function/pfa/run_pfa.sh | 2 | ||||
-rwxr-xr-x | cases/function/pfa/runtest.sh | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/cases/coverage/soft-inj/run_driver.sh b/cases/coverage/soft-inj/run_driver.sh index 07fc8fb..66e616f 100755 --- a/cases/coverage/soft-inj/run_driver.sh +++ b/cases/coverage/soft-inj/run_driver.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash echo 0 > $TMP_DIR/error.$$ diff --git a/cases/coverage/soft-inj/run_simple.sh b/cases/coverage/soft-inj/run_simple.sh index f80d308..d405b42 100755 --- a/cases/coverage/soft-inj/run_simple.sh +++ b/cases/coverage/soft-inj/run_simple.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash echo 0 > $TMP_DIR/error.$$ diff --git a/cases/function/apei-inj/runtest.sh b/cases/function/apei-inj/runtest.sh index 196f41b..bcb28b0 100755 --- a/cases/function/apei-inj/runtest.sh +++ b/cases/function/apei-inj/runtest.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # This test is the basic EINJ functional test. Only Memory Correctable Error # is touched because other tests are possible to cause system hang/crash. # diff --git a/cases/function/core_recovery/runtest_dcu.sh b/cases/function/core_recovery/runtest_dcu.sh index 00040e7..69b653d 100755 --- a/cases/function/core_recovery/runtest_dcu.sh +++ b/cases/function/core_recovery/runtest_dcu.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # This test is the SRAR/DCU functional test. # diff --git a/cases/function/core_recovery/runtest_ifu.sh b/cases/function/core_recovery/runtest_ifu.sh index bb49a5b..ab53b6c 100755 --- a/cases/function/core_recovery/runtest_ifu.sh +++ b/cases/function/core_recovery/runtest_ifu.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # This test is the SRAR/DCU functional test. # diff --git a/cases/function/core_recovery/srar_recovery.sh b/cases/function/core_recovery/srar_recovery.sh index 2b30a99..c6d0c4d 100755 --- a/cases/function/core_recovery/srar_recovery.sh +++ b/cases/function/core_recovery/srar_recovery.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #set -x export ROOT=`(cd ../../../; pwd)` diff --git a/cases/function/hwpoison/run-transhuge-test.sh b/cases/function/hwpoison/run-transhuge-test.sh index 5221bb0..89b5e04 100755 --- a/cases/function/hwpoison/run-transhuge-test.sh +++ b/cases/function/hwpoison/run-transhuge-test.sh @@ -2,7 +2,7 @@ # run-transhuge-test.sh: # Script for hwpoison test of THP(Transparent Huge Page). # -#!/bin/sh +#!/bin/bash # ROOT=`(cd ../../../; pwd)` diff --git a/cases/function/hwpoison/run_hard.sh b/cases/function/hwpoison/run_hard.sh index 63fef88..017d387 100755 --- a/cases/function/hwpoison/run_hard.sh +++ b/cases/function/hwpoison/run_hard.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cat <<-EOF diff --git a/cases/function/hwpoison/run_hugepage.sh b/cases/function/hwpoison/run_hugepage.sh index 4cf337d..4c97236 100755 --- a/cases/function/hwpoison/run_hugepage.sh +++ b/cases/function/hwpoison/run_hugepage.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cat <<-EOF diff --git a/cases/function/hwpoison/run_soft.sh b/cases/function/hwpoison/run_soft.sh index 71edc01..ff19a20 100755 --- a/cases/function/hwpoison/run_soft.sh +++ b/cases/function/hwpoison/run_soft.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cat <<-EOF diff --git a/cases/function/hwpoison/run_thp.sh b/cases/function/hwpoison/run_thp.sh index 5060fce..bbc7942 100755 --- a/cases/function/hwpoison/run_thp.sh +++ b/cases/function/hwpoison/run_thp.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cat <<-EOF diff --git a/cases/function/pfa/load.sh b/cases/function/pfa/load.sh index e7e9633..0342b9b 100755 --- a/cases/function/pfa/load.sh +++ b/cases/function/pfa/load.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash usage() { diff --git a/cases/function/pfa/run_pfa.sh b/cases/function/pfa/run_pfa.sh index 0366dee..01f417b 100755 --- a/cases/function/pfa/run_pfa.sh +++ b/cases/function/pfa/run_pfa.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash . ../../../lib/mce.sh diff --git a/cases/function/pfa/runtest.sh b/cases/function/pfa/runtest.sh index 3a6155a..7428e25 100755 --- a/cases/function/pfa/runtest.sh +++ b/cases/function/pfa/runtest.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cat <<-EOF |