From 2291712c39111a73244c93beb6612394e98366d9 Mon Sep 17 00:00:00 2001 From: Max Reitz Date: Wed, 29 Nov 2017 20:24:11 +0100 Subject: [PATCH] iotests: Make 059 pass on machines with little RAM Signed-off-by: Max Reitz Message-id: 20171129192411.6637-1-mreitz@redhat.com Reviewed-by: John Snow Signed-off-by: Max Reitz --- tests/qemu-iotests/059 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/qemu-iotests/059 b/tests/qemu-iotests/059 index a1c34eeb7c..40f89eae18 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 -- GitLab