diff options
Diffstat (limited to 'tests/tests/orig-include-exclude')
-rwxr-xr-x | tests/tests/orig-include-exclude | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/tests/orig-include-exclude b/tests/tests/orig-include-exclude new file mode 100755 index 0000000..a37f997 --- /dev/null +++ b/tests/tests/orig-include-exclude @@ -0,0 +1,21 @@ +#!/bin/bash +set -e +. tests/lib + +suitespecs+=' stable' + +. $troot/lib-orig-include-exclude + +ofb=example_1.1.orig.tar +zcat $ofb.gz >$ofb.SPONG +gzip -1Nv $ofb.SPONG +mv $ofb.SPONG.gz $ofb.gz + +cd $p + +test-push-1 1.1-1.3 '' stable + +t-expect-fail E:'archive contains .* with different checksum' \ +test-push-2 --new + +t-ok |