Whamcloud - gitweb
Remove bashism in test script for libblkid
authorTheodore Ts'o <tytso@mit.edu>
Sun, 25 May 2008 23:45:29 +0000 (19:45 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 25 May 2008 23:45:29 +0000 (19:45 -0400)
Thanks to Christian Kujau for pointing this out.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/test_probe.in

index 4051c17..87ac2b2 100644 (file)
@@ -21,9 +21,9 @@ do
        fi
        bunzip2 < $SRCDIR/tests/$i.img.bz2 > tests/tmp/test.img.$$
        # swap is native-endian, so regenerate before testing
-       if [ "$i" == "swap0" ]; then
+       if [ "$i" = "swap0" ]; then
                mkswap -v0 tests/tmp/test.img.$$ > /dev/null
-       elif [ "$i" == "swap1" ]; then
+       elif [ "$i" = "swap1" ]; then
                mkswap -v1 -L SWAP-TEST -U 8ff8e77f-8553-485e-8656-58be67a81666 tests/tmp/test.img.$$ >/dev/null
        fi
        ./tst_probe tests/tmp/test.img.$$ > tests/$i.out