Whamcloud - gitweb
LU-14707 tests: Bashify more scripts for Ubuntu et. al. 96/49296/3
authorTimothy Day <timday@amazon.com>
Thu, 1 Dec 2022 19:18:31 +0000 (19:18 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 20 Dec 2022 14:43:52 +0000 (14:43 +0000)
Some scripts that are not POSIX sh are being
invoked using sh. The scripts should be called
using the shell listed in the shebang.

Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I7233ce56df95a5b8698b39872e6118a4fa1a029a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49296
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Aurelien Degremont <degremoa@amazon.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/acceptance-small.sh
lustre/tests/ost_oos.sh
lustre/tests/parallel-scale-nfsv3.sh
lustre/tests/parallel-scale-nfsv4.sh

index 72825bc..c262d0f 100755 (executable)
@@ -10,4 +10,4 @@ for SUB in $DEFAULT_SUITES; do
        [ "$(eval echo \$$ENV)" = "no" ] && continue
        SUITES="$SUITES $SUB"
 done
-sh auster -r -R -v -f ${NAME:-lustre} $SUITES
+./auster -r -R -v -f ${NAME:-lustre} $SUITES
index 73d1ec0..fecca77 100644 (file)
@@ -6,7 +6,7 @@ export OSTSIZE=10000
 MOUNT=${MOUNT:-/mnt/lustre}
 
 echo "mnt.."
-sh llmount.sh
+./llmount.sh
 echo "done"
 echo ""
 
@@ -38,4 +38,4 @@ rm -f /tmp/oosfile
 
 echo ""
 echo "cln.."
-sh llmountcleanup.sh
+./llmountcleanup.sh
index ea8f5ff..f528e02 100755 (executable)
@@ -4,4 +4,4 @@ LUSTRE=${LUSTRE:-$(dirname $0)/..}
 . $LUSTRE/tests/test-framework.sh
 init_test_env "$@"
 
-sh $LUSTRE/tests/parallel-scale-nfs.sh 3
+$LUSTRE/tests/parallel-scale-nfs.sh 3
index ccb44bb..7ca5bd9 100755 (executable)
@@ -4,4 +4,4 @@ LUSTRE=${LUSTRE:-$(dirname $0)/..}
 . $LUSTRE/tests/test-framework.sh
 init_test_env "$@"
 
-sh $LUSTRE/tests/parallel-scale-nfs.sh 4
+$LUSTRE/tests/parallel-scale-nfs.sh 4