diff options
Diffstat (limited to 'tests/mode-test')
-rwxr-xr-x | tests/mode-test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mode-test b/tests/mode-test index 3801718..fcc460d 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 |