From 3c073988909052fb85088be3b45134fb0817286a Mon Sep 17 00:00:00 2001 From: Jeffrey Cody Date: Tue, 21 Jul 2015 17:30:55 +0200 Subject: [PATCH 2/3] block: update test 070 for vhdx Message-id: Patchwork-id: 67091 O-Subject: [RHEL-7.2 qemu-kvm PATCH 2/2] block: update test 070 for vhdx Bugzilla: 1171576 RH-Acked-by: Max Reitz RH-Acked-by: Fam Zheng RH-Acked-by: Stefan Hajnoczi This updates test 070 for VHDX - the sample image is added, and the expected error output is update to reflect the error message present downstream. Downstream only, as this image file already exists upstream, and was missing downstream. Signed-off-by: Jeff Cody Signed-off-by: Miroslav Rezanina --- tests/qemu-iotests/070 | 2 +- tests/qemu-iotests/070.out | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/070 b/tests/qemu-iotests/070 index 41bf100..ac23281 100755 --- a/tests/qemu-iotests/070 +++ b/tests/qemu-iotests/070 @@ -56,7 +56,7 @@ _use_sample_img iotest-dirtylog-10G-4M.vhdx.bz2 echo echo "=== Verify open image read-only fails, due to dirty log ===" -$QEMU_IO -r -c "read -pP 0xa5 0 18M" "$TEST_IMG" 2>&1 | grep -o "Permission denied" +$QEMU_IO -r -c "read -pP 0xa5 0 18M" "$TEST_IMG" 2>&1 | grep -o "Operation not permitted" echo "=== Verify open image replays log ===" $QEMU_IO -c "read -pP 0xa5 0 18M" "$TEST_IMG" | _filter_qemu_io diff --git a/tests/qemu-iotests/070.out b/tests/qemu-iotests/070.out index 9db8ff2..91bfb04 100644 --- a/tests/qemu-iotests/070.out +++ b/tests/qemu-iotests/070.out @@ -1,7 +1,7 @@ QA output created by 070 === Verify open image read-only fails, due to dirty log === -Permission denied +Operation not permitted === Verify open image replays log === read 18874368/18874368 bytes at offset 0 18 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) -- 1.8.3.1