summaryrefslogtreecommitdiff
path: root/tests/tests/push-newpackage
blob: 2d016572316059d588c3ed4877e2d50e56b88c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
set -e
. tests/lib

t-archive-none pari-extra
t-git-none
t-worktree 3-1
v=3-1
cd $p
git-branch -m dgit/sid master
git-remote rm dgit

LANG=C t-dgit push 2>&1 \
	| tee /dev/stderr \
	| grep 'package appears to be new in this suite' >/dev/null

echo y

t-dgit build
t-dgit push --new

t-pushed-good

echo ok.