mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 22:10:33 +00:00
d327a942aa
The only difference is that the json:{} filename of the image looks different. We actually do not care about that filename in this test, we are only interested in (1) that there is a json:{} filename, and (2) whether the backing filename can be constructed. So just filter out the json:{} data, thus making this test pass both with and without data_file. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Message-id: 20191107163708.833192-19-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
30 lines
895 B
Plaintext
30 lines
895 B
Plaintext
QA output created by 110
|
|
|
|
=== Reconstructable filename ===
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=t.IMGFMT.base
|
|
image: TEST_DIR/t.IMGFMT
|
|
file format: IMGFMT
|
|
virtual size: 64 MiB (67108864 bytes)
|
|
backing file: t.IMGFMT.base (actual path: TEST_DIR/t.IMGFMT.base)
|
|
|
|
=== Non-reconstructable filename ===
|
|
|
|
image: json:{ /* filtered */ }
|
|
file format: IMGFMT
|
|
virtual size: 64 MiB (67108864 bytes)
|
|
backing file: t.IMGFMT.base (actual path: TEST_DIR/t.IMGFMT.base)
|
|
|
|
=== Backing name is always relative to the backed image ===
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=t.IMGFMT.base
|
|
|
|
=== Nodes without a common directory ===
|
|
|
|
image: json:{ /* filtered */ }
|
|
file format: IMGFMT
|
|
virtual size: 64 MiB (67108864 bytes)
|
|
backing file: t.IMGFMT.base (cannot determine actual path)
|
|
*** done
|