xfstests: Convert all tests to use /bin/bash

While most tests use /bin/sh, they are dependent on /bin/sh being a
bash shell.  Convert all the tests to execute via /bin/bash as it is
much, much simpler than trying to debug and remove all the bashisms
throughout the test code.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
This commit is contained in:
Dave Chinner
2010-01-20 10:27:08 +11:00
parent 387165ab40
commit 771e69de67
240 changed files with 245 additions and 245 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
#! /bin/sh
#! /bin/bash
# FS QA Test No. 093
#
# Test out for IRIX the removal of file capabilities when
@@ -75,7 +75,7 @@ user=`grep ':all=:all=' /etc/capability | tail -1 | $AWK_PROG -F: '{print $1}'`
uid=`grep $user /etc/passwd | $AWK_PROG -F: '{print $3}'`
cat >$tmp.append <<EOF
#!/bin/sh
#!/bin/bash
echo data >>$file
EOF
chmod ugo+x $tmp.append