There are important security implications when we'd misprobe those
images. This commit reinstates the tests removed by commit 979d1ba3ae13
since 'qemu-img' refused to format them.
With the new testing approach with stored images we won't run into that
problem.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/virstoragetest.c | 14 +++++++++
tests/virstoragetestdata/images/qcow2 | Bin 0 -> 196616 bytes
.../images/qcow2_qcow2-auto.qcow2 | Bin 0 -> 196616 bytes
.../images/qcow2_qcow2-auto_qcow2-auto.qcow2 | Bin 0 -> 196616 bytes
.../images/qcow2_qcow2-qcow2_qcow2-auto.qcow2 | Bin 0 -> 196616 bytes
.../images/qcow2_qcow2-qcow2_raw-auto.qcow2 | Bin 0 -> 196616 bytes
.../images/qcow2_raw-auto.qcow2 | Bin 0 -> 196616 bytes
.../out/qcow2-qcow2_qcow2-auto | 19 ++++++++++++
.../out/qcow2-qcow2_qcow2-qcow2_qcow2-auto | 29 ++++++++++++++++++
.../out/qcow2-qcow2_qcow2-qcow2_raw-auto | 29 ++++++++++++++++++
10 files changed, 91 insertions(+)
create mode 100644 tests/virstoragetestdata/images/qcow2
create mode 100644 tests/virstoragetestdata/images/qcow2_qcow2-auto.qcow2
create mode 100644 tests/virstoragetestdata/images/qcow2_qcow2-auto_qcow2-auto.qcow2
create mode 100644 tests/virstoragetestdata/images/qcow2_qcow2-qcow2_qcow2-auto.qcow2
create mode 100644 tests/virstoragetestdata/images/qcow2_qcow2-qcow2_raw-auto.qcow2
create mode 100644 tests/virstoragetestdata/images/qcow2_raw-auto.qcow2
create mode 100644 tests/virstoragetestdata/out/qcow2-qcow2_qcow2-auto
create mode 100644 tests/virstoragetestdata/out/qcow2-qcow2_qcow2-qcow2_qcow2-auto
create mode 100644 tests/virstoragetestdata/out/qcow2-qcow2_qcow2-qcow2_raw-auto
diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c
index 513ffdeb41..ec185d8660 100644
--- a/tests/virstoragetest.c
+++ b/tests/virstoragetest.c
@@ -464,6 +464,20 @@ mymain(void)
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",
diff --git a/tests/virstoragetestdata/images/qcow2
b/tests/virstoragetestdata/images/qcow2
new file mode 100644
index 0000000000000000000000000000000000000000..31a144e4b947692c834363797fa34457edc2094c
GIT binary patch
literal 196616
zcmeIuK~94}6adhH_5dDX&fp<TOx(C~jb$21S|D_c)|JOLabsH~(M8dHAA}j^|Id8p
z-QV1Ph7cBq=jU}bE|ycQIK50&<7ynIiu3bvlYUA+Ej}JXDBeS;n<4MxW0R-U{9LTM
zVR-KIf4?ZxYfeL3ZDL*JDz2MNnr*OHb=!VOyIs?@G4K2N>JXO4{o6X#@$NdNHV;kO
z%`_;&rh41QA+1;4bDQT%PrH=iAhWIdKMTKmmc>xL#9wEg`5P$$1PBlyK!5-N0t5&U
zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7
z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.qcow2
b/tests/virstoragetestdata/images/qcow2_qcow2-auto.qcow2
new file mode 100644
index 0000000000000000000000000000000000000000..490482150d476032cfccd91be403f15430682f67
GIT binary patch
literal 196616
zcmeIuK~94}6adhH>fR%8h91Ji#EmQ02sDzkfOMK#S03BMjnL9GE=2b}$S{AH&;QJO
zxV`%fAuNV5T<Q3@9>&cWgm875LP(Cmlr^nR@6H)N&tsA9y#2iRcpS>ThfvmiJY-LG
zJa5g<NzwNGu8V*DBCTFy)i?P%EAyCVt9o6{Hdqwxrt7Qiwr-m&9=iGLfo81VlvSDC
zFSDwNeO+y58YE$zza6r^S{3cCiF2vPDrp#GHhK4J;?y%u`h1^#JM+xnT((|{cE7wV
zMFa>CAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+
z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly
zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF
z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk
z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs
z0RjXF5FkK+009C72oNAZfB*pk1PJ_hf%LxvI6nab1PBlyK!5-N0t5&UAV7cs0RjXF
z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk
z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs
z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ
zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U
zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7
z2!v$1Q4k<NfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly
zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF
z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk
z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs
z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ
kfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+0D(c^3#qCyQ~&?~
literal 0
HcmV?d00001
diff --git a/tests/virstoragetestdata/images/qcow2_qcow2-auto_qcow2-auto.qcow2
b/tests/virstoragetestdata/images/qcow2_qcow2-auto_qcow2-auto.qcow2
new file mode 100644
index 0000000000000000000000000000000000000000..3b27b256c27e34ceed0e4ae3888d75e532cda451
GIT binary patch
literal 196616
zcmeIuO-_SA6ae6XdH`3hxqvQu2on=Gu3Q?VG?KJ{bedXM9^1r?^e>HRMECt5%sl2j
z-Z0<8?cG-hVbnkUm2QTs{<+))AzbXH5Rz@MuiC%u)(#cF&zmOgA^kG?eC*qOgfOYP
zxXzxdct{P;NzruOvW@@!A}!xy+12?ho8&Rirq!$*++b8R^R_D&i>j%!xNe85dzwxE
zdQwiZ`*Bv*v8&3(zy?W}<?rjPE2l-Xtm9DWwo4j%nR(v+S-9UbO}c!Q{W$Z$-yBn~
zMY9?|ZO7|;8JnAJc+86k5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF
z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk
z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs
z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ
zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U
zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UI5UCt%+Bk$1PBlyK!5-N
z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+
z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly
zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF
z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk
z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs
z0RjXF5FkK+009C72oNA}Dv*TTeVVaCfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+
z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly
zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF
z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk
z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs
z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009DLDDVvt
CzBsS|
literal 0
HcmV?d00001
diff --git a/tests/virstoragetestdata/images/qcow2_qcow2-qcow2_qcow2-auto.qcow2
b/tests/virstoragetestdata/images/qcow2_qcow2-qcow2_qcow2-auto.qcow2
new file mode 100644
index 0000000000000000000000000000000000000000..8b9c3cede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UAV7cs0RlS-WMO^n6c!>tfB*pk1PBlyK!5-N
z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+
z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly
zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF
z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk
z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs
R0RjXF5FkK+0D*lM_y(Y-Jpcdz
literal 0
HcmV?d00001
diff --git a/tests/virstoragetestdata/images/qcow2_qcow2-qcow2_raw-auto.qcow2
b/tests/virstoragetestdata/images/qcow2_qcow2-qcow2_raw-auto.qcow2
new file mode 100644
index 0000000000000000000000000000000000000000..90b0a9a0594bc7e1e00dea41825fcf7996c7fc33
GIT binary patch
literal 196616
zcmeIvJx;?g00vMeg`I%|WJZF4Lm(lsFfpRg1`(+wA$0|1;(Q!~Qy{V6{s}P<I#<t;
zV<-M>$1m3xmtP@-QL3rrN9lH)>atDcVBLg}tvZ|3=4t(IoA|q3F4Ap>KNctNsekx1
zZlBLn=VA1Dla_xAVN&;TQQXyW8y#-5aohLvF77%buU=x+H|4aLl(8)C>uEK(!D!q*
zc6~LQ)ooM6MK_#IRLk|7Ni`|1&WoyveO=84Hps%Xd|ecMbw6(BO&p4@R>?z>c`Uns
zgPT3`tS_I7UuPcpnxCQ7f4NO_Ps@31&$hqmC!j}w009C72oNAZfB*pk1PBlyK!5-N
z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+
z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly
zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF
z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk
z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7e?
zehcLLeLSZlK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U
zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7
z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N
z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+
z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly
zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB=CV1hTNcc8H1)AV7cs0RjXF5FkK+
z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly
zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF
z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk
z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs
z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ
SfB*pk1PBlyK!Cvh3w#6G^E_Mt
literal 0
HcmV?d00001
diff --git a/tests/virstoragetestdata/images/qcow2_raw-auto.qcow2
b/tests/virstoragetestdata/images/qcow2_raw-auto.qcow2
new file mode 100644
index 0000000000000000000000000000000000000000..c942c3816af0cd506863cecc456691b2418d2863
GIT binary pat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N0t5&U
zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C7
z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N
z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+
z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly
hK!5-N0t5&UAV7cs0RjXF5FkK+009C72oRVAz5&h(F|Yst
literal 0
HcmV?d00001
diff --git a/tests/virstoragetestdata/out/qcow2-qcow2_qcow2-auto
b/tests/virstoragetestdata/out/qcow2-qcow2_qcow2-auto
new file mode 100644
index 0000000000..e23c43f328
--- /dev/null
+++ b/tests/virstoragetestdata/out/qcow2-qcow2_qcow2-auto
@@ -0,0 +1,19 @@
+path:ABS_SRCDIR/virstoragetestdata/images/qcow2_qcow2-auto.qcow2
+backingStoreRaw: qcow2
+capacity: 1024
+encryption: 0
+relPath:<null>
+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>
diff --git a/tests/virstoragetestdata/out/qcow2-qcow2_qcow2-qcow2_qcow2-auto
b/tests/virstoragetestdata/out/qcow2-qcow2_qcow2-qcow2_qcow2-auto
new file mode 100644
index 0000000000..17f53f3ed0
--- /dev/null
+++ b/tests/virstoragetestdata/out/qcow2-qcow2_qcow2-qcow2_qcow2-auto
@@ -0,0 +1,29 @@
+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>
diff --git a/tests/virstoragetestdata/out/qcow2-qcow2_qcow2-qcow2_raw-auto
b/tests/virstoragetestdata/out/qcow2-qcow2_qcow2-qcow2_raw-auto
new file mode 100644
index 0000000000..1be5a82cc9
--- /dev/null
+++ b/tests/virstoragetestdata/out/qcow2-qcow2_qcow2-qcow2_raw-auto
@@ -0,0 +1,29 @@
+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>
--
2.31.1