summaryrefslogtreecommitdiff
path: root/tests/t_mmp_1on
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2012-05-11 19:14:30 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-05-11 22:13:21 -0400
commit21af16f404cc519525040b1c0286a0fff59be750 (patch)
tree3cc821daa7cbb61a37cf2a29dace48046b7eb182 /tests/t_mmp_1on
parent660b4c3b3fd78d0da408643b9c09b47becb5521a (diff)
downloade2fsprogs-21af16f404cc519525040b1c0286a0fff59be750.tar.gz
Fix bashisms
These break the self-test suite on *BSD, and on some Linux distros where /bin/sh is not implemented by bash. Signed-off-by: Matthias Andree <matthias.andree@gmx.de> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tests/t_mmp_1on')
-rw-r--r--tests/t_mmp_1on/script2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t_mmp_1on/script b/tests/t_mmp_1on/script
index 3b0a3766..43afe9da 100644
--- a/tests/t_mmp_1on/script
+++ b/tests/t_mmp_1on/script
@@ -5,7 +5,7 @@ rm -f $test_name.failed $test_name.ok
> $TMPFILE
stat -f $TMPFILE | grep -q "Type: tmpfs"
-if [ $? == 0 ] ; then
+if [ $? = 0 ] ; then
rm -f $TMPFILE
echo "skipped for tmpfs (no O_DIRECT support)"
return 0