aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/214
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/214')
-rwxr-xr-xtests/qemu-iotests/2144
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/214 b/tests/qemu-iotests/214
index 3500e0c..af677d9 100755
--- a/tests/qemu-iotests/214
+++ b/tests/qemu-iotests/214
@@ -125,9 +125,9 @@ $QEMU_IO -c "write -P 0xcc $offset $data_size" "json:{\
sizeB=$($QEMU_IMG info --output=json "$TEST_IMG" |
sed -n '/"actual-size":/ s/[^0-9]//gp')
-if [ $sizeA -le $sizeB ]
+if [ $sizeA -lt $sizeB ]
then
- echo "Compression ERROR"
+ echo "Compression ERROR ($sizeA < $sizeB)"
fi
$QEMU_IMG check --output=json "$TEST_IMG" |