[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/9] iotests: replace fake parallels image with auth
From: |
Denis V. Lunev |
Subject: |
[Qemu-devel] [PATCH 1/9] iotests: replace fake parallels image with authentic one |
Date: |
Mon, 27 Oct 2014 12:07:04 +0300 |
The image was generated using http://openvz.org/Ploop utility and properly
filled with the same content as original one.
Signed-off-by: Denis V. Lunev <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
CC: Jeff Cody <address@hidden>
CC: Kevin Wolf <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
---
tests/qemu-iotests/076 | 10 +++++-----
tests/qemu-iotests/076.out | 8 ++++----
tests/qemu-iotests/sample_images/fake.parallels.bz2 | Bin 141 -> 0 bytes
tests/qemu-iotests/sample_images/parallels-v1.bz2 | Bin 0 -> 147 bytes
4 files changed, 9 insertions(+), 9 deletions(-)
delete mode 100644 tests/qemu-iotests/sample_images/fake.parallels.bz2
create mode 100644 tests/qemu-iotests/sample_images/parallels-v1.bz2
diff --git a/tests/qemu-iotests/076 b/tests/qemu-iotests/076
index b614a7d..a300ee2 100755
--- a/tests/qemu-iotests/076
+++ b/tests/qemu-iotests/076
@@ -47,26 +47,26 @@ catalog_entries_offset=$((0x20))
nb_sectors_offset=$((0x24))
echo
-echo "== Read from a valid (enough) image =="
-_use_sample_img fake.parallels.bz2
+echo "== Read from a valid v1 image =="
+_use_sample_img parallels-v1.bz2
{ $QEMU_IO -c "read -P 0x11 0 64k" $TEST_IMG; } 2>&1 | _filter_qemu_io |
_filter_testdir
echo
echo "== Negative catalog size =="
-_use_sample_img fake.parallels.bz2
+_use_sample_img parallels-v1.bz2
poke_file "$TEST_IMG" "$catalog_entries_offset" "\xff\xff\xff\xff"
{ $QEMU_IO -c "read 0 512" $TEST_IMG; } 2>&1 | _filter_qemu_io |
_filter_testdir
echo
echo "== Overflow in catalog allocation =="
-_use_sample_img fake.parallels.bz2
+_use_sample_img parallels-v1.bz2
poke_file "$TEST_IMG" "$nb_sectors_offset" "\xff\xff\xff\xff"
poke_file "$TEST_IMG" "$catalog_entries_offset" "\x01\x00\x00\x40"
{ $QEMU_IO -c "read 64M 64M" $TEST_IMG; } 2>&1 | _filter_qemu_io |
_filter_testdir
echo
echo "== Zero sectors per track =="
-_use_sample_img fake.parallels.bz2
+_use_sample_img parallels-v1.bz2
poke_file "$TEST_IMG" "$tracks_offset" "\x00\x00\x00\x00"
{ $QEMU_IO -c "read 0 512" $TEST_IMG; } 2>&1 | _filter_qemu_io |
_filter_testdir
diff --git a/tests/qemu-iotests/076.out b/tests/qemu-iotests/076.out
index f7745d8..fd26f3c 100644
--- a/tests/qemu-iotests/076.out
+++ b/tests/qemu-iotests/076.out
@@ -1,18 +1,18 @@
QA output created by 076
-== Read from a valid (enough) image ==
+== Read from a valid v1 image ==
read 65536/65536 bytes at offset 0
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
== Negative catalog size ==
-qemu-io: can't open device TEST_DIR/fake.parallels: Catalog too large
+qemu-io: can't open device TEST_DIR/parallels-v1: Catalog too large
no file open, try 'help open'
== Overflow in catalog allocation ==
-qemu-io: can't open device TEST_DIR/fake.parallels: Catalog too large
+qemu-io: can't open device TEST_DIR/parallels-v1: Catalog too large
no file open, try 'help open'
== Zero sectors per track ==
-qemu-io: can't open device TEST_DIR/fake.parallels: Invalid image: Zero
sectors per track
+qemu-io: can't open device TEST_DIR/parallels-v1: Invalid image: Zero sectors
per track
no file open, try 'help open'
*** done
diff --git a/tests/qemu-iotests/sample_images/fake.parallels.bz2
b/tests/qemu-iotests/sample_images/fake.parallels.bz2
deleted file mode 100644
index
ffb5f13bac31bc9ab6e1ea5c0cfa26786f2c4cc6..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 141
zcmV;80CN9AT4*^jL0KkKS*i&LJ^%_Hf6(xNVE_;S2ml2D2!JYJ)&M{N00969FaWp;
z000b`1pojBOn|7QnnOSv)YEF7cgIVO0ByGSdk7e?fW`f$x`2Bi3t$bd06owJs09G{
vKo+1B1LXi)0CVe)address@hidden<|C
diff --git a/tests/qemu-iotests/sample_images/parallels-v1.bz2
b/tests/qemu-iotests/sample_images/parallels-v1.bz2
new file mode 100644
index
0000000000000000000000000000000000000000..d1ef14205401a8e010d1be68bffeee92ce137d39
GIT binary patch
literal 147
zcmZ>Y%CIzaj8qGb<U2HxlYvY5|address@hidden@s91U6t*BBfa7#JBi3>bEBnV0~X
zZfy+=3|x~mCkJ!L1skp^{Ftks!;address@hidden<<!18pfv#p$a05
xpBl6#a54OH5Dj3ritc|address@hidden>pD?kL6rKj5mT56#x^qEyDl+
literal 0
HcmV?d00001
--
1.9.1
- [Qemu-devel] [PATCH 0/9] parallels format support improvements, Denis V. Lunev, 2014/10/27
- [Qemu-devel] [PATCH 4/9] configure: add dependency from libxml2, Denis V. Lunev, 2014/10/27
- [Qemu-devel] [PATCH 7/9] block/parallels: support padded Parallels images, Denis V. Lunev, 2014/10/27
- [Qemu-devel] [PATCH 1/9] iotests: replace fake parallels image with authentic one,
Denis V. Lunev <=
- [Qemu-devel] [PATCH 6/9] iotests: simple parallels XML disk descriptor file test added, Denis V. Lunev, 2014/10/27
- [Qemu-devel] [PATCH 2/9] iotests: add v2 parallels sample image and simple test for it, Denis V. Lunev, 2014/10/27
- [Qemu-devel] [PATCH 5/9] block/parallels: allow to specify DiskDescriptor.xml instead of image file, Denis V. Lunev, 2014/10/27
- [Qemu-devel] [PATCH 3/9] block/parallels: fix access to not initialized memory in catalog_bitmap, Denis V. Lunev, 2014/10/27
- [Qemu-devel] [PATCH 9/9] parallels: change copyright information in the image header, Denis V. Lunev, 2014/10/27
- [Qemu-devel] [PATCH 8/9] iotests: padded parallels image test, Denis V. Lunev, 2014/10/27