From 2684871af50cd8efbe753abe333f0acca6d9ab98 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Sun, 31 Oct 2010 16:07:46 -0400 Subject: qemu-iotests: filter TEST_DIR correctly in 019 Signed-off-by: Kevin Wolf --- tests/qemu-iotests/019 | 2 +- tests/qemu-iotests/019.out | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/qemu-iotests/019 b/tests/qemu-iotests/019 index 896b8d993..e0187b1ff 100755 --- a/tests/qemu-iotests/019 +++ b/tests/qemu-iotests/019 @@ -92,7 +92,7 @@ mv $TEST_IMG $TEST_IMG.orig for backing_option in "-B $TEST_IMG.base" "-o backing_file=$TEST_IMG.base"; do echo - echo Testing conversion with $backing_option + echo Testing conversion with $backing_option | _filter_testdir echo $QEMU_IMG convert -O $IMGFMT $backing_option $TEST_IMG.orig $TEST_IMG diff --git a/tests/qemu-iotests/019.out b/tests/qemu-iotests/019.out index 84c38a07d..d3913dfea 100644 --- a/tests/qemu-iotests/019.out +++ b/tests/qemu-iotests/019.out @@ -538,7 +538,7 @@ qemu-io> wrote 65536/65536 bytes at offset 4296146944 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) qemu-io> No errors were found on the image. -Testing conversion with -B /home/kwolf/source/iotests-qemu/scratch/t.qcow2.base +Testing conversion with -B TEST_DIR/t.qcow2.base Checking if backing clusters are allocated when they shouldn't @@ -1082,7 +1082,7 @@ qemu-io> read 65536/65536 bytes at offset 4296343552 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) qemu-io> No errors were found on the image. -Testing conversion with -o backing_file=/home/kwolf/source/iotests-qemu/scratch/t.qcow2.base +Testing conversion with -o backing_file=TEST_DIR/t.qcow2.base Checking if backing clusters are allocated when they shouldn't -- cgit v1.2.3