Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2014 15:08:58 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271966 - head/usr.bin/mkimg/tests
Message-ID:  <201409221508.s8MF8wBf041954@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Mon Sep 22 15:08:58 2014
New Revision: 271966
URL: http://svnweb.freebsd.org/changeset/base/271966

Log:
  Update the unit tests to include the QCOW (version 1) format.
  This is a good safety net for when V2 is added.

Added:
  head/usr.bin/mkimg/tests/img-1x1-4096-apm.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-4096-bsd.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-4096-ebr.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-4096-gpt.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-4096-mbr.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-4096-pc98.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-4096-vtoc8.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-512-apm.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-512-bsd.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-512-ebr.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-512-gpt.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-512-mbr.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-512-pc98.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-1x1-512-vtoc8.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-4096-apm.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-4096-bsd.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-4096-ebr.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-4096-gpt.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-4096-mbr.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-4096-pc98.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-4096-vtoc8.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-512-apm.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-512-bsd.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-512-ebr.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-512-gpt.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-512-mbr.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-512-pc98.qcow.gz.uu   (contents, props changed)
  head/usr.bin/mkimg/tests/img-63x255-512-vtoc8.qcow.gz.uu   (contents, props changed)
Modified:
  head/usr.bin/mkimg/tests/mkimg.sh

Added: head/usr.bin/mkimg/tests/img-1x1-4096-apm.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-4096-apm.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,60 @@
+# $FreeBSD$
+begin 644 img-1x1-4096-apm.qcow.gz
+M'XL("+-D'U0``VEM9RTQ>#$M-#`Y-BUA<&TN<6-O=RYO=70`K9Q+CQO'&47W
+M^A6=K8$(O%75C]K%ABT@"P-*C*R=>C5@P(^!8R`;_7B30S)#SMRK.XHT(@8:
+M$-^'[N;A@3`Z[,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M7Q??WP\/,@Z[[8[0C/Z^++HYL?W[4+IFD-TYJF)5^^
+M+T<)C-/3EZ/[\:'\_L=/?_STVZ\_7M>=?+STT_#Z*4?W2WF@1\?OS_?_O[;I
+ME:_M]5?DUW?&_6M[?6=$^MGMSSJ^QY=C.5WXXPMQ?*0PS7%*:0K]>.#SZ;DY
+MOESX[O<QOOGAV[_^Z]T/M]>/?MSZ<XYO><7U"S?7[_PFN;U^T^WQT<]&?=;Q
+M??3ZK7%:5\+FT_7[SW_/(%Z/[PM?OW2X7+_+YV?OO^LG/KQ_>__GO#`]+GSS
+))\E=0RR#5@``
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-4096-bsd.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-4096-bsd.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,58 @@
+# $FreeBSD$
+begin 644 img-1x1-4096-bsd.qcow.gz
+M'XL("+1D'U0``VEM9RTQ>#$M-#`Y-BUB<V0N<6-O=RYO=70`K9S+3B1'%$3W
+M\Q4U6R]01V8],G?62+;DG;VQM\[GVA_`QWN@NX%N(@C\`(1`S;VJZCI]D&8.
+M=3J=WY9EP[+NRYJ769?OWU\^L+SYYO9C>?SMYU\>WKX]?CDOP^F#J;OOU["$
+MR[J;7=^6EW7A::HMI_R)==\_P-:].;KX#X[NS<F^7_?#E_/)\KF@%L:;A<ME
+MW>ER?!#/WOJYX_OQ[G1Q?O;^O],-XG0WM7"_6?CK9=V?E^,+XG0/M2[=K/OK
+M[G2#.-VLUI4/80D"EJK6-;-NI5-=K1MFW4:G)E^'#Z[M>=U.IZ#6T=?MP_*R
+M[J!34:U;;]:='JY`7]<E.B6X@^4NTRG!'2QWA4X)[F"YJW1*<`?+7:-3@CM8
+M[CJ=$MP%R]V@4X([\?OB#7>33@GN@N,.?$IP%QQW8+X+BKO@N`/S75#<!<<=
+MF.^"XBXX[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]C^KC'?J?X.MK_K?$IP9_N[SGRG^CO8
+M_JXSWZG^#K:_Z\QWJK^#[>\Z\YWJ[V#[N\Y\I_H[V/ZN,]^I_@ZVO^O,=ZJ_
+M@^WO.O.=ZN]@^[O.?*?Z.]C^KC/?J?X.MK_KS'>JOX/M[SKSG>KO8/N[SGRG
+M^CO8_JXSWZG^#K:_Z\QWJK^#[>\&GQ+<V?YN,-^I_@ZVOQO,=ZJ_@^WO!O.=
+MZN]@^[O!?*?Z.]C^;C#?J?X.MK\;S'>JOX/M[P;SG>KO8/N[P7RG^CO8_FXP
+MWZG^#K:_&\QWJK^#[>\&\YWJ[V#[N\%\I_H[V/YN,-^I_@ZVOQO,=ZJ_@^WO
+M!O.=ZN]@^[O)IP1WMK^;S'>JOX/M[R;SG>KO8/N[R7RG^CO8_FXRWZG^#K:_
+MF\QWJK^#[>\F\YWJ[V#[N\E\I_H[V/YN,M^I_@ZVOYO,=ZJ_@^WO)O.=ZN]@
+M^[O)?*?Z.]C^;C+?J?X.MK^;S'>JOPO7+^[6+:_KB.^^3W'NPEU_=[V?WO+*
+M'?%=4/U=N.OOE@MWRY6[>'IZ<`W/?WGV[K-^X/';P^W[]89Z\?F&*]NQK-NR
+M[4L*-\=S?WRO#SS^\=/OY&)$>L.53ZSCUS;2&Z[<K'LY8'QFW;-`W_SD4S_Y
+M4L;)!\[KOEYV?7U=QV^H=YEZ(F:P!^31\1OJ_8OG[GIM[R7U]CH_)]#M]0_*
+M[UX9+]=W>3T^(JEP<[H?'-_R_G2?)77<_CS>K`OF=)?;=?7#:_OQT7U]?W0L
+M$OXO%^/=K3D^^<I]6G+[RCVO"_^O"+9GLSS]_BKDLW[@\=>'V_?SPO5YX9>_
+)`=FR!>?A50``
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-4096-ebr.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-4096-ebr.qcow.gz.uu	Mon S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R:MUR\LZXKO'*<Y=>-7?7:^GM[QP1WP7
+M5'\77O5WRX6[Y<K=>B)3SS=]!WGLSA?46^FU;]Y?.*=\,M:G:]\\?L/CK<3+
+M)X^W\^7?KD_.XXE"']\/M^M86_E-I\OR[W<6QKB4\F;AG]?C>[I<S1:>7@CX
+MYJ.^X^'GS_?OS\?W]/KH>"Q;7.*^I/#1$_[[E[_8TT%?'_U5C]]YG;V<X_,!
+MXR/KGGZ?W7SG+1GZCH<73,Y_7M?QZQM>IK[\``]VASPZ?GW#KV?OS6N0;Y_G
+MIR*]O;R^_Y6HGI_?Y>7XR.^,<'>Z[QS?\O9TGWYG'/??CYMUP9SN<K^NOOO<
+MOG]T/[P].M9L?\N3\>:5M!_\R?VRY/XG][PN?%\1Q">S?/GK1"$?]1T/OW^^
+9?S\OW"X+O]LCN)WVQZ/\]!_U&W#4P5<`````
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-4096-gpt.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-4096-gpt.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,64 @@
+# $FreeBSD$
+begin 644 img-1x1-4096-gpt.qcow.gz
+M'XL("+AD'U0``VEM9RTQ>#$M-#`Y-BUG<'0N<6-O=RYO=70`K9Q+;QO)&47W
+M_A7M;8((O%7]J-X$R0`98':>(-DE0.JY'"1[_?CP*8OTO;HVAA8A2"#J0W?S
+M]&E9.NS#X?)OFA9,\SK-^S3*=/S^^L#T[IO[Q_3ZZ\^_O+S_]_KI,@R'#U8]
+M?#^'*5S'W<WZ:7H;%TZKZG38OV/<\0$V[MW6Q1_8NG<[^^VX/WRZ["Q?%]3`
+M>#=PNHX[7+</XNC-W[=]?WG875R.WO-V-XC=7=3`]6[@E^NX_URW+XC=W=2X
+M=#?NOP^[&\3N[FI<_A"6(&`I:EPUXV:ZJJEQW8Q;Z*K!Q^&#U_8R;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M]I':<OVGJ*YZ9T/$TN?UH(4VCG
+M]Q)C"N4T\/6W7U]^NPS[T\O__GC=OLL[W\$?^@EU]"[O?$]J=[>OXA2[.]V/
+M>_)M3N/Y_=ME>=K1VZ^PL(=^0AZ]?#EZ_""=CAX]95[?KA>?[\>QWOUW'+WY
+M?-4X_6R2R6?]Q.N7E_N/R\#Y.O!I6W@<6)]X=IS&/?'L.(U[XMEQ&O?4L^,T
+M\(EGQVG<$\^.T[@GGAVG<4\].XX#S[\S>])%_#0.E\OD:%,*4X\/VZ<NQU^W
+M[WYW+[\S4Y?^#R[B_,7H3[R(G\9]?!'O/[JS3[R(G\8]]2(^'Y:C]S[]'S!P
+&V/"U7```
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-4096-mbr.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-4096-mbr.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,59 @@
+# $FreeBSD$
+begin 644 img-1x1-4096-mbr.qcow.gz
+M'XL("+ED'U0``VEM9RTQ>#$M-#`Y-BUM8G(N<6-O=RYO=70`K9R];B/)&47S
+M>8K>U('`6]W57949"]B`LW5@.W7]QOL`>GA3(BF1TKVZVO7,$#,2J.]#%WET
+MM-@YY.ET^;4L$<NV+UM>9EW.GU]O6.X^>;PMS__\^S^>[G\]_[@LP^F+J0^?
+M;V%9K^L>=OUZ>EL77J;:<LK?6'>^@:V[N[KU#US=W6$_K_O+C\MA^5Q0"Q^/
+MNUS7W8X+\>AMW[N^OWXX+BZ/WL\[;A#'C6KA_K#PM^NZ_UZO+XCC'FI=>ECW
+M^X?C!G'<K-:5+V$)`I:JUC6S;J-37:T;9EVD4Y.OPQ?/[67=3J>@U@6Z;GE;
+M=]"I5:W;'M:=GFY`W]8E.B6X@^4NTRG!'2QWA4X)[F"YJW1*<`?+7:-3@CM8
+M[CJ=$MP%R]V@4X*[8+F;=$I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G^CO8_F[R*<&=[>\F\YWJ[V#[N\E\I_H[V/YN,M^I_@ZVOYO,=ZJ_
+M@^WO)O.=ZN]@^[O)?*?Z.]C^;C+?J?X.MK^;S'>JOX/M[R;SG>KO8/N[R7RG
+M^CO8_FXRWZG^#K:_F\QWJK^#[>\F\YWJ[\+M@X=UR\LZXKN?4YR[\-#?W>ZG
+MM[QP1WP75'\7'OJ[Y<K=<N-N/3T]N(7S7YZ]>:\?^/'MR_WK[89ZZ_G^+7]C
+M88Q+>;OPW[?K.]^_)6]+VQ[/]O3`G"]O=P^(YW:E]V]YGI(/D'77XVZ_^/L7
+MSP>.Q[+%)>Y+"A^]PC_^\1]RX/CK#GQ99^^_^'S!^,BZ\R^@5U_YU)\^EX7R
+M@<NZS]==GU_6\1L27J>>?N(&>T!>';\AX?\,2WQS4YC7S_,Y(6\O?Y#_8);G
+MYW=YN3XB^7!WW'>N;WE[W+/DC_NOQZMUP1QWN5]7WWUNW[^ZSV^OCD76_\^3
+M\>;6)A_\R7U:<O^3>UD7?JT(CK.9GW[_%_)>/_#C^Y?[U\O"[;SPTW\!]AVL
+%?"%7````
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-4096-vtoc8.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-4096-vtoc8.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,58 @@
+# $FreeBSD$
+begin 644 img-1x1-4096-vtoc8.qcow.gz
+M'XL("+QD'U0``VEM9RTQ>#$M-#`Y-BUV=&]C."YQ8V]W+F]U=`"MG,V.&T48
+M1?=YB@Y+%I%O=75WU0J$$!(+)!`O0/VN$>L\/)[89FS/O7/YF[&BL:SO4[=]
+M?!PE9_ITNGPMRX8E[DO,RZS+^?[UAN7NSN-M^?S+#S]^NO_Z_.&R#*=WII[N
+MQ[#@NNYAUW>OZ\++5%M.^6^L.]_HNKNC6__!T=V=[-MU7W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Z+"LLXWZ[[ZYKKNRV627CYL"OE3/_#YYT^/WQ=4
+5XG7A_\9>/'^?3A_^!-JMQ5W?50``
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-512-apm.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-512-apm.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,60 @@
+# $FreeBSD$
+begin 644 img-1x1-512-apm.qcow.gz
+M'XL("*AD'U0``VEM9RTQ>#$M-3$R+6%P;2YQ8V]W+F]U=`"MG$N/&\<91??Z
+M%9VM@0B\5=6/VL6&+2`+`TJ,K)UZ-6#`CX%C(!O]>)-#,D/.W*L[BB01@@;$
+M]Z&Z>7@@V(<\',Z_IFG&E)8IY6FOT_'GRP/3S0_WC^G#/][]_>WMKP]OSLMP
+M^,C4LY]3F'!9=[?KFZ=UX335ID-^Q;KC@ZZ[.5W\A-/=7.S+=5^].5\LGPMJ
+M8;Q;.%W6'2[G@[A[Z77G^]NSR\7Y[GVYRPWB<F>U<+E;^/ZR[M^7\P5QN:M:
+MM]VM>WAVN4%<;E;KRD=A"0*6JM8ULR[1J:[6#;-NIE,[7X>/O+;G=0N=@EH7
+MZ+KI?^M6.A75NG2W[O#V"O1UW4:G!'>PW&4Z);B#Y:[0*<$=+'>53@GN8+EK
+M=$IP!\M=IU."NV"Y&W1*<!<L=SN=$MP%QQWXE.`N..[`?!<4=\%Q!^:[H+@+
+MCCLPWP7%77#<@?DN*.Z"XP[,=T%Q%QUW8+Z+BKOHN`/S753<1<L=\UU4W$7+
+M'?-=5-Q%RQWS753<1<L=\UU4W$7+'?-=5-Q%RQWS753<)<L=\UU2W"7+'?-=
+M4MPEQUW@4X*[Y+@+S'=)<9<<=X'Y+BGNDN,N,-\EQ5URW`7FNZ2X2XZ[P'R7
+M%'>SXRXPW\V*N]EQ%YCO9L7=;+ECOIL5=[/ECOEN5MS-ECOFNUE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.]7?P?9W@_E.]7>P_=U@OE/]'6Q_-YCO5'\'V]\-YCO5W\'V=X/Y
+M3O5WL/W=8+Y3_1UL?[?S*<&=[>]VYCO5W\'V=SOSG>KO8/N[G?E.]7>P_=W.
+M?*?Z.]C^;F>^4_T=;'^W,]^I_@ZVO]N9[U1_!]O?[<QWJK^#[>]VYCO5W\'V
+M=SOSG>KO8/N[G?E.]7>P_=W.?*?Z.]C^;F>^4_U=N/[EV;KI:1WQW7&*<Q>>
+M]7?7[].;GK@CO@NJOPO/^KOIPMUTY2X>3D^F>9K#TU=;G09Q^NCF\W6'IXO]
+M[I^G/7]Y=N_B)WU9XLVZER_%^?OYXN/WMQS?!:F_F(NW"W'_Q(?WW[/7-CY^
+M?TMZ#+..C^7X[]7Y5>?[^N'AYT'6?;&O(SROBR]/-S^^:Q=,TQJF-4U+OORY
+M'"4P3D]?3O?C0_G]CY_^^.FW7W^\KCOY>.FGX?533O=+>:"GX]_/]_^_MNF5
+MK^TU@;B^,^Y?V^L[(]+/;G_6^1Y?CN5TXX\OQ/&1PC3'*:4I]./!Y]-S<WRY
+M\-WO8WSSP[=__=>['V[O'_VX]>><;WG%_0LW]^_\)KF]?]/M^>AGHS[K?!^]
+M?VN<UI6P^73__O/?,XC7\WWI^[==[M_E\[/W?^HG/KQ_>__[O#!=%GZQ$Z;C
+-[\/AS9_V\:RVU%8`````
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-512-bsd.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-512-bsd.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,58 @@
+# $FreeBSD$
+begin 644 img-1x1-512-bsd.qcow.gz
+M'XL("*ED'U0``VEM9RTQ>#$M-3$R+6)S9"YQ8V]W+F]U=`"MG,M.)$<41/?S
+M%35;+U!'9CTR=]9(MN2=O;&WSN?:'\#'>Z"[@6XB"/P`A$#-O:KJ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HWQW-_?*\///[QT^_D8D1ZPY5/K./7-M(;KMRL>SE@?&;=LT#?_.13/_E2
+MQLD'SNN^7G9]?5W';ZAWF7HB9K`'Y-'Q&^K]B^?N>FWO)?7V.C\GT.WU#\KO
+M7ADOUW=Y/3XBJ7!SNA\<W_+^=)\E==S^/-ZL"^9TE]MU]<-K^_'1?7U_="P2
+M_B\7X]VM.3[YRGU:<OO*/:\+_Z\(MF>S//W^*N2S?N#QUX?;]_/"]7GAE[\!
+(V;(%Y^%5````
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-512-ebr.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-512-ebr.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,59 @@
+# $FreeBSD$
+begin 644 img-1x1-512-ebr.qcow.gz
+M'XL("*MD'U0``VEM9RTQ>#$M-3$R+65B<BYQ8V]W+F]U=`"MG+UN&T<817L_
+MQ:9-8?#.[NS.=$&`!$B7%$G:S&^=!]##1Q9)B93NU55L2X0L@?H^[))'1X9]
+MN*?3^6U9(I9M7[:\S+H\?GVY8;GYXOZV//SQZV^?;]\>/IV7X?3.U*NOM["L
+MEW5WNWX^/:\+7Z;:<LH?6/=X`UMW<W3K_SBZFY-]N^['3^>3Y7-!+;P_W>6R
+M[GJZ$(_>]K'C^^G5Z>+\Z'V_TPWB=*-:N-\M_/VR[I_+\05QNH=:E^[6_?OJ
+M=(,XW:S6E7=A"0*6JM8ULVZC4UVM&V9=I%.3K\,[S^UYW4ZGH-8%NFYY7G?0
+MJ56MV^[6G3Y?@;ZN2W1*<`?+7:93@CM8[@J=$MS!<E?IE.`.EKM&IP1WL-QU
+M.B6X"Y:[0:<$=\%R-^F4X"XX[L"G!'?!<0?FNZ"X"XX[,-\%Q5UPW('Y+BCN
+M@N,.S'=!<1<<=V"^"XJ[U7$'YKM5<;<Z[L!\MRKN5LL=\]VJN%LM=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O5W\'V=YWY3O5WL/U=9[Y3_1UL?]>9[U1_!]O?
+M=>8[U=_!]G>=^4[U=[#]W>!3@CO;WPWF.]7?P?9W@_E.]7>P_=U@OE/]'6Q_
+M-YCO5'\'V]\-YCO5W\'V=X/Y3O5WL/W=8+Y3_1UL?S>8[U1_!]O?#>8[U=_!
+M]G>#^4[U=[#]W6"^4_T=;'\WF.]4?P?;WPWF.]7?P?9W@_E.]7>P_=U@OE/]
+M'6Q_-_F4X,[V=Y/Y3O5WL/W=9+Y3_1UL?S>9[U1_!]O?3>8[U=_!]G>3^4[U
+M=[#]W62^4_T=;'\WF>]4?P?;WTWF.]7?P?9WD_E.]7>P_=UDOE/]'6Q_-YGO
+M5'\'V]]-YCO5W\'V=Y/Y3O5WX?K)JW7+RSKBN\<ISEUXU=]=KZ>WO'!'?!=4
+M?Q=>]7?+A;OERMUZ(E//-WT'>>S.%]1;Z;5OWE\XIWPRUJ=KWSQ^P^.MQ,LG
+MC[?SY=^N3\[CB4(?WP^WZUA;^4VGR_+O=Q;&N)3R9N&?U^-[NES-%IY>"/CF
+MH[[CX>?/]^_/Q_?T^NAX+%M<XKZD\-$3_ON7O]C305\?_56/WWF=O9SC\P'C
+M(^N>?I_=?.<M&?J.AQ=,SG]>U_'K&UZFOOP`#W:'/#I^?<.O9^_-:Y!OG^>G
+M(KV]O+[_E:B>G]_EY?C([XQP=[KO'-_R]G2??F<<]]^/FW7!G.YROZZ^^]R^
+M?W0_O#TZUFQ_RY/QYI6T'_S)_;+D_B?WO"Y\7Q'$)[-\^>M$(1_U'0^_?[Y_
+8/R_<+@N_VR.XG?;'H_ST'_4;<-3!5P``
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-512-gpt.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-512-gpt.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,64 @@
+# $FreeBSD$
+begin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[<QWJK\+MV\>QDU?QQ'?O:[BW(6'
+M_NYV/[WI*W?$=T'U=^&AOYNNW$TW[N;CZ<D8SN\\^^:K?N+EQ\/]Y^V&>O/Y
+MWC>_8>#MZ-V/NQV]^7+OFW/T,U[/_?WZN-S^[;:C>0JXV^^[%^/SX=TXUE:^
+MK9)/$%1NN\OR[P\&IC25\LW`?]RV[WR[FIBN]ZX,YQ`R8DIA2O%MW'E?4WN_
+M?7_]Z>?IRY__]O?3L']^W=WS[6I&F-9V_N-!?]@ZR-U]>=S=R[CSY6=]/-JW
+M<;,<]YF/.U]^T@?CV$./BQ^M>KMQVW>\MI=QZ7B_*K]?E=.4P[2\_C9?Y+A_
+MWXUC^??O(>_\SO>ZG%[;99SN=]KVTS=].<5S4WX]32[_6@A3Z.?W$F,*]?S:
+M_OK+X=?+L#\=_O?'Z_9=WOD._M!/J*-W>>>[(N+MMG=Z=Z?[<4^^S>E\?O]V
+M34\[>ML5%O;03\BC5RY'CQ^DTT;14^;E[7KQ^7X<Z]U_S]$[OROO]+M)(5_U
+M$R]?#O>?EX'Q.O!I6QB/L3WQ[#B->^+9<1KWQ+/C-.ZI9\=IX!//CM.X)YX=
+MIW%//#M.XYYZ=KP.//_-[$D7\=.X$WMQGDJ;VCHMCQ=Q=3E^^<OA\!^RNY>_
+MF:E+_P<7<?YBC"=>Q$_C/KZ(+_*UO7T\[.P3+^*G<4^]B,=C>I7II_\#SLH]
+%"+5<````
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-512-mbr.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-512-mbr.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,59 @@
+# $FreeBSD$
+begin 644 img-1x1-512-mbr.qcow.gz
+M'XL("*YD'U0``VEM9RTQ>#$M-3$R+6UB<BYQ8V]W+F]U=`"MG+UN(\D91?-Y
+MBM[4@<!;W=5=E1D+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%^>[M:QMO)M2MY!4+D=
+ME^7?7RR,<2GET\)_W:XO_.RGX_7UT?%8MKC$?4GANP?^S]_^3;XW5OKZZ#_U
+M^%W6V;=S?+M@?&?=Z\^SNZ^\)T/?\?R.R>7OVSK^_H;7J9=OX,'ND%?'W]_P
+MS[/WZ37(]\_S:Y'>WE_?_T%4;\_O\GY]Y&=&>#CN%]>W?#[NZ\^,X_'K<;<N
+MF.,NC^OJE\_MUU?WR^>K8\WV__-D?'HE[3>_<U^6/'[G7M:%GRN"^&J6E_^<
+B*.1/?<?S;T^/OR\+M^O"G_8(;J?]?)4__@?]-]VQP5<`````
+`
+end

Added: head/usr.bin/mkimg/tests/img-1x1-512-pc98.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-1x1-512-pc98.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,59 @@
+# $FreeBSD$
+begin 644 img-1x1-512-pc98.qcow.gz
+M'XL("+!D'U0``VEM9RTQ>#$M-3$R+7!C.3@N<6-O=RYO=70`K9S-3AQ)&D7W
+M?HKTMA=6W<B,S(B=96E:FIUG,=/;CM]U/X`??DS]`%7<RZ5G#`B!BN]3!G4X
+M2/8A3Z?+R[)$+-N^;'F9=?GY^?4-RZM/[M^6'__Z_9]?7K_\^'19AM,[4P^?
+M;V'9KNON=GW[^KPN/$VUY90_L.[G&]BZ5U>W_HVK>W78M^M^^W0Y+)\+:N%Z
+MMW"YKCM=KP_BN[=][/J^/AP7E^_>KSMN$,>-:N%^M_#[==V?U^L+XKB'6I?N
+MUOWU<-P@CIO5NO(N+$'`4M6Z9M9M=*JK=<.LBW1J\G5XY[F]K-OI%-2Z0-<M
+MS^L..K6J=?<:.'VY`7U;E^B4X`Z6NTRG!'>PW!4Z);B#Y:[2*<$=+'>-3@GN
+M8+GK=$IP%RQW@TX)[H+E;M(IP=WCKY\WW(%/">Z"XP[,=T%Q%QQW8+X+BKO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?3>8[U=_!]G>3^4[U=[#]W62^4_T=;'\W
+MF>]4?P?;WTWF.]7?P?9WD_E.]7?A]L/3NN5U'?'=>8IS%Y[ZN]OU])97[HCO
+M@NKOPE-_MURY6V[<K:>7!^.^'&'9MY=;#,NV+C$N:SP_T)\WWD[VAS_&^.[7
+M[^-/#\_=^H\NEGBW[NU+\?5UX>/[`N\O3%]^KS3(UW:]OTY:MNO>.[[+.M:E
+M_H=UK$NEZU[>_N=/]+-#Q].ZW^[6L2[UO[P8;R^3].5S.^#EF;<+/SZ?[I?+
+M)%V&GU]A>:'.\P.?/[XYOLNZU],-=R/A81W8T2UW[[37=:\:>#Y&\^Q]I$?'
+M?NW@WZ-"+Y-$U_6RU//?HL*RSC?KOOKFNN[+99)>/FP*^5,_\/GG3X_?%U3B
+4=>'_QEX\?Y].'_X$VJW%7=]5````
+`
+end

Added: head/usr.bin/mkimg/tests/img-63x255-4096-apm.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-63x255-4096-apm.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,60 @@
+# $FreeBSD$
+begin 644 img-63x255-4096-apm.qcow.gz
+M'XL(",ID'U0``VEM9RTV,W@R-34M-#`Y-BUA<&TN<6-O=RYO=70`K9Q+CQO'
+M&47W^A6=K8$(O%75C]K%ABT@"P-*C*R=>C5@P(^!8R`;_7B30S)#SMRK.XHT
+M(@8:$-^'[N;A@3`Z[,/A_#5-,Z:T3"E/>YV./U\>F&Y^N'],'_[Q[N]O;[\^
+MO#DOP^$C4\]^3F'"9=W=KF^>UH735)L.^17KC@^Z[N;HXB<<W<W)OESWU9OS
+MR?*YH!;&NX739=WA<GP05R^][OC^]NQT<;YZ7^YT@SC=62U<[A:^OZS[]^7X
+M@CC=5:W;[M8]/#O=($XWJW7EH[`$`4M5ZYI9E^A45^N&63?3J9VOPT=>V_.Z
+MA4Y!K0MTW?2_=2N=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ZK7%:5\+FT_7[SW_/(%Z/[PM?OW2X7+_+YV?OO^LG/KQ_>__GO#`]
+,+GSS)\E=0RR#5@``
+`
+end

Added: head/usr.bin/mkimg/tests/img-63x255-4096-bsd.qcow.gz.uu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/mkimg/tests/img-63x255-4096-bsd.qcow.gz.uu	Mon Sep 22 15:08:58 2014	(r271966)
@@ -0,0 +1,58 @@
+# $FreeBSD$
+begin 644 img-63x255-4096-bsd.qcow.gz
+M'XL(",QD'U0``VEM9RTV,W@R-34M-#`Y-BUB<V0N<6-O=RYO=70`K9S+;B1%
+M%$3W\Q6U9F%U9-8C<P,("21VPP:VY'/-!YA_9^QVC[O;$0X#XY=LM>]55=?Q
+ML31S7*?3^659-BSKOJQYF77Y\O7+&Y:K+V[?EL???OGUX?KE\=-Y&4[O3-U]
+M??0EOZR[V?7WZ[KP--664_[`NB]O8.NNCB[^BZ.[.MFWZ[[[=#Y9/A?4PGBS
+M<'E9=WHY/HAG;_W8\?UX=[HX/WO?[G2#.-U-+=QO%GY^6??GR_$%<;J'6I=N
+MUOUU=[I!G&Y6Z\J[L`0!2U7KFEFWTJFNU@VS;J-3DZ_#.]?VO&ZG4U#K`EVW
+M?%UWT*FHUJTWZTX/%Z`OZQ*=$MS!<I?IE.`.EKM"IP1WL-Q5.B6X@^6NT2G!
+M'2QWG4X)[H+E;M`IP5VPW$TZ);@+CCOP*<%=<-R!^2XH[H+C#LQW07$7''=@
+MO@N*N^"X`_-=4-P%QQV8[X+B+CKNP'P7%7?1<0?FNZBXBY8[YKNHN(N6.^:[
+MJ+B+ECOFNZBXBY8[YKNHN(N6.^:[J+B+ECOFNZBX6RUWS'>KXFZUW#'?K8J[
+MU7$7^)3@;G7<!>:[57&W.NX"\]VJN%L==X'Y;E7<K8Z[P'RW*NY6QUU@OEL5
+M=YOC+C#?;8J[S7$7F.\VQ=UFN6.^VQ1WF^6.^6Y3W&V6.^:[37&W6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