mirror of https://github.com/xemu-project/xemu.git
iotests/273: Filter format-specific information
Doing this allows running this test with e.g. -o compat=0.10 or -o compat=refcount_bits=1. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
c85c6d9ec1
commit
d6f2c0b5a2
|
@ -48,7 +48,8 @@ do_run_qemu()
|
|||
run_qemu()
|
||||
{
|
||||
do_run_qemu "$@" 2>&1 | _filter_testdir | _filter_qemu | _filter_qmp |
|
||||
_filter_generated_node_ids | _filter_imgfmt | _filter_actual_image_size
|
||||
_filter_generated_node_ids | _filter_imgfmt |
|
||||
_filter_actual_image_size | _filter_img_info
|
||||
}
|
||||
|
||||
TEST_IMG="$TEST_IMG.base" _make_test_img 64M
|
||||
|
|
|
@ -38,15 +38,6 @@ Testing: -blockdev file,node-name=base,filename=TEST_DIR/t.IMGFMT.base -blockdev
|
|||
"cluster-size": 65536,
|
||||
"format": "IMGFMT",
|
||||
"actual-size": SIZE,
|
||||
"format-specific": {
|
||||
"type": "IMGFMT",
|
||||
"data": {
|
||||
"compat": "1.1",
|
||||
"lazy-refcounts": false,
|
||||
"refcount-bits": 16,
|
||||
"corrupt": false
|
||||
}
|
||||
},
|
||||
"full-backing-filename": "TEST_DIR/t.IMGFMT.base",
|
||||
"backing-filename": "TEST_DIR/t.IMGFMT.base",
|
||||
"dirty-flag": false
|
||||
|
@ -57,15 +48,6 @@ Testing: -blockdev file,node-name=base,filename=TEST_DIR/t.IMGFMT.base -blockdev
|
|||
"cluster-size": 65536,
|
||||
"format": "IMGFMT",
|
||||
"actual-size": SIZE,
|
||||
"format-specific": {
|
||||
"type": "IMGFMT",
|
||||
"data": {
|
||||
"compat": "1.1",
|
||||
"lazy-refcounts": false,
|
||||
"refcount-bits": 16,
|
||||
"corrupt": false
|
||||
}
|
||||
},
|
||||
"full-backing-filename": "TEST_DIR/t.IMGFMT.mid",
|
||||
"backing-filename": "TEST_DIR/t.IMGFMT.mid",
|
||||
"dirty-flag": false
|
||||
|
@ -136,15 +118,6 @@ Testing: -blockdev file,node-name=base,filename=TEST_DIR/t.IMGFMT.base -blockdev
|
|||
"cluster-size": 65536,
|
||||
"format": "IMGFMT",
|
||||
"actual-size": SIZE,
|
||||
"format-specific": {
|
||||
"type": "IMGFMT",
|
||||
"data": {
|
||||
"compat": "1.1",
|
||||
"lazy-refcounts": false,
|
||||
"refcount-bits": 16,
|
||||
"corrupt": false
|
||||
}
|
||||
},
|
||||
"full-backing-filename": "TEST_DIR/t.IMGFMT.base",
|
||||
"backing-filename": "TEST_DIR/t.IMGFMT.base",
|
||||
"dirty-flag": false
|
||||
|
|
Loading…
Reference in New Issue