From 134addbf3309871ef36016dd136c362b9cade482 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 2 Feb 2020 12:34:04 +0000 Subject: [PATCH] tests: import-dsc: Test corrupted ENV (#950446) Closes: #950326 Signed-off-by: Ian Jackson --- .../example_1.0-1+brokenmeta.debian.tar.xz | Bin 0 -> 1304 bytes tests/pkg-srcs/example_1.0-1+brokenmeta.dsc | 22 ++++++++++++++++++ tests/tests/import-dsc | 4 ++++ 3 files changed, 26 insertions(+) create mode 100644 tests/pkg-srcs/example_1.0-1+brokenmeta.debian.tar.xz create mode 100644 tests/pkg-srcs/example_1.0-1+brokenmeta.dsc diff --git a/tests/pkg-srcs/example_1.0-1+brokenmeta.debian.tar.xz b/tests/pkg-srcs/example_1.0-1+brokenmeta.debian.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..caad8202393010a080967c359789a78e74f3a112 GIT binary patch literal 1304 zcmV+z1?T$xH+ooF000E$*0e?f03iVu0001VFXf})PyYniT>vr}NNor1@tIyK_)om{ z6G3Rf3tP$4y%98+C-|VkmLiEn?b*yfgVWoeG2d`$mpX6chq>D}eb-&mWrbDPuW|_% z<>w&sM2N2i(D=JvP~2v@BJzpP<8_FAEJavDXCJ;xh}Q)>W}PBqFM;>nk&pOapgR*RsUl9zlB{6tVEG1S1S2fKHBt z8Tu9`vFy>&@ zO*Mr(KFS&FFNFiaTdYya8^#lRow!MZ|5=u_mf69o)L?3Z7Spdajr@NAB5pP3rDqaa zJf#K7i4&h6>XtAS_sFJT-E3aWuBhdbeK#w4r=)jQ@K?wATlmC?vhEFstUFO16Hw#O<)J)uN zuxZyCOhZ5h;2j4eo0Q{I#Wn$R6vJ&Zf0n22tLH;Uh=ByDKWGi@+JHQlo zUo3Ml9)Vdw5NHPk{z@%s6w8ySUbq7><)V}<@49gm5k z7KNXrY72!bQ47cz00%!I2cBGuZwzM8&AjNrQ)Ng?%3qb1h}dcwUfrkhKk+ +Standards-Version: 3.9.4.0 +Build-Depends: debhelper (>= 8) +Package-List: + example deb devel extra arch=all +Checksums-Sha1: + 2bc730f941db49de57e9678fb0b07bd95507bb44 236 example_1.0.orig-docs.tar.gz + 4bff9170ce9b10cb59937195c5ae2c73719fe150 373 example_1.0.orig.tar.gz + 68e0e1e3ec092409652d047e62bd3f0dba5a51f3 1304 example_1.0-1+brokenmeta.debian.tar.xz +Checksums-Sha256: + ad9671f6b25cdd9f0573f803f702448a45a45183db1d79701aa760bccbeed29c 236 example_1.0.orig-docs.tar.gz + a3ef7c951152f3ec754f96fd483457aa88ba06df3084e6f1cc7c25b669567c17 373 example_1.0.orig.tar.gz + 3ef0a50e3c0e025d0facada85d4508469c88150504c079698ae329c0c18bf315 1304 example_1.0-1+brokenmeta.debian.tar.xz +Files: + cb0cb5487b1e5bcb82547396b4fe93e5 236 example_1.0.orig-docs.tar.gz + 599f47808a7754c66aea3cda1b3208d6 373 example_1.0.orig.tar.gz + 2ed3f4310bdda12b58b1b412d1c88dd9 1304 example_1.0-1+brokenmeta.debian.tar.xz diff --git a/tests/tests/import-dsc b/tests/tests/import-dsc index 4a8d8766..768bd8c3 100755 --- a/tests/tests/import-dsc +++ b/tests/tests/import-dsc @@ -64,6 +64,10 @@ t-dgit import-dsc $dsc2 ..$branch t-dgit import-dsc $dsc2 +$branch check-imported $dsc2 +dsc3=$troot/pkg-srcs/example_1.0-1+brokenmeta.dsc +t-dgit import-dsc $dsc3 +$branch +check-imported $dsc3 + cd .. mkdir $p.2 cd $p.2 -- 2.30.2