summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/067
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-11-02 14:52:11 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-11-07 13:53:30 +0100
commit64815e2a966f0a3f18818b9d542f1ef02dc992a2 (patch)
treede470a17181af88f9cff2c7bedf8d39f360e7dc0 /tests/qemu-iotests/067
parenta9a443c874cf92b583852cf8ea5b75df8580df32 (diff)
downloadqemu-64815e2a966f0a3f18818b9d542f1ef02dc992a2.tar.gz
qemu-iotests: Filter out actual image size in 067
The actual size of the image file may differ depending on the Linux kernel currently running on the host. Filtering out this value makes this test pass in such cases. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/067')
-rwxr-xr-xtests/qemu-iotests/0672
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/067 b/tests/qemu-iotests/067
index 79dc38bc04..d025192c83 100755
--- a/tests/qemu-iotests/067
+++ b/tests/qemu-iotests/067
@@ -45,7 +45,7 @@ function do_run_qemu()
function run_qemu()
{
- do_run_qemu "$@" 2>&1 | _filter_testdir | _filter_qmp
+ do_run_qemu "$@" 2>&1 | _filter_testdir | _filter_qmp | sed -e 's/\("actual-size":\s*\)[0-9]\+/\1SIZE/g'
}
size=128M