aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaoyong Wang <shaoyongx.wang@intel.com>2012-08-21 20:37:58 -0400
committerChen, Gong <gong.chen@linux.intel.com>2015-01-21 21:24:00 -0500
commit7e03b030d4997e170bbbb78e04cc03603c3a9a7c (patch)
treea1ce1aaff09f189a26ea39a936c93407afda82ce
parent3aebdd5c6f48d8e7a19d8812697ccbc14c83f481 (diff)
downloadmce-test-7e03b030d4997e170bbbb78e04cc03603c3a9a7c.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-xcases/coverage/soft-inj/run_driver.sh2
-rwxr-xr-xcases/coverage/soft-inj/run_simple.sh2
-rwxr-xr-xcases/function/apei-inj/runtest.sh2
-rwxr-xr-xcases/function/core_recovery/runtest_dcu.sh2
-rwxr-xr-xcases/function/core_recovery/runtest_ifu.sh2
-rwxr-xr-xcases/function/core_recovery/srar_recovery.sh2
-rwxr-xr-xcases/function/hwpoison/run-transhuge-test.sh2
-rwxr-xr-xcases/function/hwpoison/run_hard.sh2
-rwxr-xr-xcases/function/hwpoison/run_hugepage.sh2
-rwxr-xr-xcases/function/hwpoison/run_soft.sh2
-rwxr-xr-xcases/function/hwpoison/run_thp.sh2
-rwxr-xr-xcases/function/pfa/load.sh2
-rwxr-xr-xcases/function/pfa/run_pfa.sh2
-rwxr-xr-xcases/function/pfa/runtest.sh2
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