mirror of
https://git.proxmox.com/git/qemu
synced 2025-07-10 17:26:15 +00:00
qemu-iotests: move blank lines of output in case 059
Move the blank line to above the test step banner, so it looks clearer in blocks. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
ca2884087a
commit
5dd75f9afb
@ -47,27 +47,27 @@ capacity_offset=16
|
|||||||
granularity_offset=20
|
granularity_offset=20
|
||||||
grain_table_size_offset=44
|
grain_table_size_offset=44
|
||||||
|
|
||||||
echo "=== Testing invalid granularity ==="
|
|
||||||
echo
|
echo
|
||||||
|
echo "=== Testing invalid granularity ==="
|
||||||
_make_test_img 64M
|
_make_test_img 64M
|
||||||
poke_file "$TEST_IMG" "$granularity_offset" "\xff\xff\xff\xff\xff\xff\xff\xff"
|
poke_file "$TEST_IMG" "$granularity_offset" "\xff\xff\xff\xff\xff\xff\xff\xff"
|
||||||
{ $QEMU_IO -c "read 0 512" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir
|
{ $QEMU_IO -c "read 0 512" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir
|
||||||
|
|
||||||
echo "=== Testing too big L2 table size ==="
|
|
||||||
echo
|
echo
|
||||||
|
echo "=== Testing too big L2 table size ==="
|
||||||
_make_test_img 64M
|
_make_test_img 64M
|
||||||
poke_file "$TEST_IMG" "$grain_table_size_offset" "\xff\xff\xff\xff"
|
poke_file "$TEST_IMG" "$grain_table_size_offset" "\xff\xff\xff\xff"
|
||||||
{ $QEMU_IO -c "read 0 512" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir
|
{ $QEMU_IO -c "read 0 512" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir
|
||||||
|
|
||||||
echo "=== Testing too big L1 table size ==="
|
|
||||||
echo
|
echo
|
||||||
|
echo "=== Testing too big L1 table size ==="
|
||||||
_make_test_img 64M
|
_make_test_img 64M
|
||||||
poke_file "$TEST_IMG" "$capacity_offset" "\xff\xff\xff\xff"
|
poke_file "$TEST_IMG" "$capacity_offset" "\xff\xff\xff\xff"
|
||||||
poke_file "$TEST_IMG" "$grain_table_size_offset" "\x01\x00\x00\x00"
|
poke_file "$TEST_IMG" "$grain_table_size_offset" "\x01\x00\x00\x00"
|
||||||
{ $QEMU_IO -c "read 0 512" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir
|
{ $QEMU_IO -c "read 0 512" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir
|
||||||
|
|
||||||
echo "=== Testing monolithicFlat creation and opening ==="
|
|
||||||
echo
|
echo
|
||||||
|
echo "=== Testing monolithicFlat creation and opening ==="
|
||||||
IMGOPTS="subformat=monolithicFlat" _make_test_img 2G
|
IMGOPTS="subformat=monolithicFlat" _make_test_img 2G
|
||||||
$QEMU_IMG info $TEST_IMG | _filter_testdir
|
$QEMU_IMG info $TEST_IMG | _filter_testdir
|
||||||
|
|
||||||
|
@ -1,24 +1,24 @@
|
|||||||
QA output created by 059
|
QA output created by 059
|
||||||
=== Testing invalid granularity ===
|
|
||||||
|
|
||||||
|
=== Testing invalid granularity ===
|
||||||
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
||||||
invalid granularity, image may be corrupt
|
invalid granularity, image may be corrupt
|
||||||
qemu-io: can't open device TEST_DIR/t.vmdk: Could not open 'TEST_DIR/t.vmdk': Wrong medium type
|
qemu-io: can't open device TEST_DIR/t.vmdk: Could not open 'TEST_DIR/t.vmdk': Wrong medium type
|
||||||
no file open, try 'help open'
|
no file open, try 'help open'
|
||||||
=== Testing too big L2 table size ===
|
|
||||||
|
|
||||||
|
=== Testing too big L2 table size ===
|
||||||
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
||||||
L2 table size too big
|
L2 table size too big
|
||||||
qemu-io: can't open device TEST_DIR/t.vmdk: Could not open 'TEST_DIR/t.vmdk': Wrong medium type
|
qemu-io: can't open device TEST_DIR/t.vmdk: Could not open 'TEST_DIR/t.vmdk': Wrong medium type
|
||||||
no file open, try 'help open'
|
no file open, try 'help open'
|
||||||
=== Testing too big L1 table size ===
|
|
||||||
|
|
||||||
|
=== Testing too big L1 table size ===
|
||||||
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
||||||
L1 size too big
|
L1 size too big
|
||||||
qemu-io: can't open device TEST_DIR/t.vmdk: Could not open 'TEST_DIR/t.vmdk': Wrong medium type
|
qemu-io: can't open device TEST_DIR/t.vmdk: Could not open 'TEST_DIR/t.vmdk': Wrong medium type
|
||||||
no file open, try 'help open'
|
no file open, try 'help open'
|
||||||
=== Testing monolithicFlat creation and opening ===
|
|
||||||
|
|
||||||
|
=== Testing monolithicFlat creation and opening ===
|
||||||
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648
|
||||||
image: TEST_DIR/t.vmdk
|
image: TEST_DIR/t.vmdk
|
||||||
file format: vmdk
|
file format: vmdk
|
||||||
|
Loading…
Reference in New Issue
Block a user