summaryrefslogtreecommitdiff
path: root/test/shell/pvmove-basic.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/shell/pvmove-basic.sh')
-rw-r--r--test/shell/pvmove-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shell/pvmove-basic.sh b/test/shell/pvmove-basic.sh
index e228b3486..581597b67 100644
--- a/test/shell/pvmove-basic.sh
+++ b/test/shell/pvmove-basic.sh
@@ -352,7 +352,7 @@ pvmove $mode "$dev1"
dmsetup create $vg-pvmove0 --notable
not pvmove $mode -i 1 "$dev2"
dmsetup info --noheadings -c -o suspended $vg-$lv1
-test $(dmsetup info --noheadings -c -o suspended $vg-$lv1) = "Active"
+test "$(dmsetup info --noheadings -c -o suspended "$vg-$lv1")" = "Active"
if dmsetup info $vg-pvmove0_mimage_0 > /dev/null; then
dmsetup remove $vg-pvmove0 $vg-pvmove0_mimage_0 $vg-pvmove0_mimage_1
else