testCleanupImages();
+ /* Test various combinations of qcow2 images with missing 'backing_format' */
+ TEST_CHAIN("qcow2-qcow2_qcow2-qcow2_qcow2-auto",
+ abs_srcdir "/virstoragetestdata/images/qcow2_qcow2-qcow2_qcow2-auto.qcow2",
+ VIR_STORAGE_FILE_QCOW2, EXP_PASS);
+ TEST_CHAIN("qcow2-qcow2_qcow2-qcow2_raw-auto",
+ abs_srcdir "/virstoragetestdata/images/qcow2_qcow2-qcow2_raw-auto.qcow2",
+ VIR_STORAGE_FILE_QCOW2, EXP_PASS);
+ TEST_CHAIN("qcow2-qcow2_qcow2-auto_qcow2-auto",
+ abs_srcdir "/virstoragetestdata/images/qcow2_qcow2-auto_qcow2-auto.qcow2",
+ VIR_STORAGE_FILE_QCOW2, EXP_FAIL);
+ TEST_CHAIN("qcow2-qcow2_qcow2-auto",
+ abs_srcdir "/virstoragetestdata/images/qcow2_qcow2-auto.qcow2",
+ VIR_STORAGE_FILE_QCOW2, EXP_PASS);
+
/* Qcow2 file with missing backing file but specified type */
TEST_CHAIN("qcow2-qcow2_missing",
abs_srcdir "/virstoragetestdata/images/qcow2_qcow2-missing.qcow2",
--- /dev/null
+path:ABS_SRCDIR/virstoragetestdata/images/qcow2_qcow2-qcow2_qcow2-auto.qcow2
+backingStoreRaw: qcow2_qcow2-auto.qcow2
+capacity: 1024
+encryption: 0
+relPath:<null>
+type:1
+format:14
+protocol:none
+hostname:<null>
+
+path:ABS_SRCDIR/virstoragetestdata/images/qcow2_qcow2-auto.qcow2
+backingStoreRaw: qcow2
+capacity: 1024
+encryption: 0
+relPath:qcow2_qcow2-auto.qcow2
+type:1
+format:14
+protocol:none
+hostname:<null>
+
+path:ABS_SRCDIR/virstoragetestdata/images/qcow2
+backingStoreRaw: <null>
+capacity: 1024
+encryption: 0
+relPath:qcow2
+type:1
+format:14
+protocol:none
+hostname:<null>
--- /dev/null
+path:ABS_SRCDIR/virstoragetestdata/images/qcow2_qcow2-qcow2_raw-auto.qcow2
+backingStoreRaw: qcow2_raw-auto.qcow2
+capacity: 1024
+encryption: 0
+relPath:<null>
+type:1
+format:14
+protocol:none
+hostname:<null>
+
+path:ABS_SRCDIR/virstoragetestdata/images/qcow2_raw-auto.qcow2
+backingStoreRaw: raw
+capacity: 1024
+encryption: 0
+relPath:qcow2_raw-auto.qcow2
+type:1
+format:14
+protocol:none
+hostname:<null>
+
+path:ABS_SRCDIR/virstoragetestdata/images/raw
+backingStoreRaw: <null>
+capacity: 0
+encryption: 0
+relPath:raw
+type:1
+format:1
+protocol:none
+hostname:<null>