aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/059
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2017-11-29 20:24:11 +0100
committerMax Reitz <mreitz@redhat.com>2018-01-23 12:34:43 +0100
commit2291712c39111a73244c93beb6612394e98366d9 (patch)
tree664dc5cac0f36dff6048d093de6a8eb98c13bd95 /tests/qemu-iotests/059
parentb01a1944e534857cc72c86222189f55191ded44e (diff)
downloadqemu-2291712c39111a73244c93beb6612394e98366d9.zip
qemu-2291712c39111a73244c93beb6612394e98366d9.tar.gz
qemu-2291712c39111a73244c93beb6612394e98366d9.tar.bz2
iotests: Make 059 pass on machines with little RAM
Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20171129192411.6637-1-mreitz@redhat.com Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/059')
-rwxr-xr-xtests/qemu-iotests/0594
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qemu-iotests/059 b/tests/qemu-iotests/059
index a1c34ee..40f89ea 100755
--- a/tests/qemu-iotests/059
+++ b/tests/qemu-iotests/059
@@ -152,7 +152,9 @@ done
echo
echo "=== Testing afl image with a very large capacity ==="
_use_sample_img afl9.vmdk.bz2
-_img_info
+# The sed makes this test pass on machines with little RAM
+# (and also with 32 bit builds)
+_img_info | sed -e 's/Cannot allocate memory/Invalid argument/'
_cleanup_test_img
# success, all done