summaryrefslogtreecommitdiff
path: root/tests/mode-test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mode-test')
-rwxr-xr-xtests/mode-test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mode-test b/tests/mode-test
index fcc460d..3801718 100755
--- a/tests/mode-test
+++ b/tests/mode-test
@@ -52,7 +52,7 @@ add_device() {
dmcrypt_check() # device outstring
{
X=$(dmsetup table $1 2>/dev/null | sed 's/.*: //' | cut -d' ' -f 4)
- if [ "$X" = $2 ] ; then
+ if [ $X = $2 ] ; then
echo -n "[table OK]"
else
echo "[table FAIL]"
@@ -65,7 +65,7 @@ dmcrypt_check() # device outstring
echo -n "[status OK]"
else
echo "[status FAIL]"
- echo " Expecting $2 got \"$X\"."
+ echo " Expecting $2 got $X."
fail
fi