summaryrefslogtreecommitdiff
path: root/tests/tests/orig-include-exclude
blob: a37f9974b230ec85fea266b7f952d73be65888b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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