diff options
Diffstat (limited to 'tests/tests/import-linkorigs')
-rwxr-xr-x | tests/tests/import-linkorigs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/tests/import-linkorigs b/tests/tests/import-linkorigs index 815f960..ff0d816 100755 --- a/tests/tests/import-linkorigs +++ b/tests/tests/import-linkorigs @@ -3,6 +3,8 @@ set -e . tests/lib . $troot/lib-import-chk +t-dependencies xz-utils + t-tstunt-parsechangelog t-archive-none example @@ -58,3 +60,17 @@ for bpdhow in none rel abs; do cd ../.. done done + +rm -rf dupes +cp -a rel-rel dupes +cd dupes +orig=${p}_${v%-*}.orig.tar +zcat bpd/$orig.gz | xz -1 >$orig.xz +cd $p + +ls -al ../bpd + +t-expect-fail 'Duplicate/inconsistent orig tarballs' \ +t-dgit build-source + +t-ok |