f48a33b608
Add one test whether blkdebug is able to generate a plain filename if given a configuration file and a file to be tested only; and add another test whether blkdebug is able to do the same without being given a configuration file. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1415697825-26678-3-git-send-email-mreitz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
QA output created by 099
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072
|
|
Formatting 'TEST_DIR/t.IMGFMT.compare', fmt=raw size=131072
|
|
|
|
=== Testing simple filename for blkverify ===
|
|
|
|
blkverify:TEST_DIR/t.IMGFMT.compare:TEST_DIR/t.IMGFMT
|
|
|
|
=== Testing filename reconstruction for blkverify ===
|
|
|
|
blkverify:TEST_DIR/t.IMGFMT.compare:TEST_DIR/t.IMGFMT
|
|
|
|
=== Testing JSON filename for blkdebug ===
|
|
|
|
json:{"driver": "IMGFMT", "file": {"image": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT"}, "driver": "blkdebug", "inject-error.0.event": "l1_update"}}
|
|
|
|
=== Testing indirectly enforced JSON filename ===
|
|
|
|
json:{"driver": "raw", "file": {"test": {"driver": "IMGFMT", "file": {"image": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT"}, "driver": "blkdebug", "inject-error.0.event": "l1_update"}}, "driver": "blkverify", "raw": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT.compare"}}}
|
|
|
|
=== Testing plain filename for blkdebug ===
|
|
|
|
blkdebug:TEST_DIR/blkdebug.conf:TEST_DIR/t.IMGFMT
|
|
|
|
=== Testing plain filename for blkdebug without configuration file ===
|
|
|
|
blkdebug::TEST_DIR/t.IMGFMT
|
|
*** done
|