NFS paths were only partially filtered in _filter_img_create, _img_info and _filter_img_info, resulting in "nfs://127.0.0.1TEST_DIR/t.IMGFMT". This adds another replacement to the sed calls that matches the test directory not as a host path, but as an NFS URL (the prefix as used for $TEST_IMG). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com>
24 lines
846 B
Plaintext
24 lines
846 B
Plaintext
QA output created by 126
|
|
|
|
=== Testing plain files ===
|
|
|
|
Formatting 'TEST_DIR/a:b.IMGFMT', fmt=IMGFMT size=67108864
|
|
Formatting 'file:TEST_DIR/a:b.IMGFMT', fmt=IMGFMT size=67108864
|
|
|
|
=== Testing relative backing filename resolution ===
|
|
|
|
Formatting 'TEST_DIR/image:base.IMGFMT', fmt=IMGFMT size=67108864
|
|
Formatting 'TEST_DIR/image:top.IMGFMT', fmt=IMGFMT size=67108864 backing_file=./image:base.IMGFMT
|
|
image: TEST_DIR/image:top.IMGFMT
|
|
file format: IMGFMT
|
|
virtual size: 64M (67108864 bytes)
|
|
backing file: ./image:base.IMGFMT (actual path: TEST_DIR/./image:base.IMGFMT)
|
|
|
|
Formatting 'base.IMGFMT', fmt=IMGFMT size=67108864
|
|
Formatting 'file:image:top.IMGFMT', fmt=IMGFMT size=67108864 backing_file=base.IMGFMT
|
|
image: ./image:top.IMGFMT
|
|
file format: IMGFMT
|
|
virtual size: 64M (67108864 bytes)
|
|
backing file: base.IMGFMT (actual path: ./base.IMGFMT)
|
|
*** done
|