Thanks to Christian Kujau for pointing this out.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
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