diff options
Diffstat (limited to 'tests/tests/push-newpackage')
-rwxr-xr-x | tests/tests/push-newpackage | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/tests/push-newpackage b/tests/tests/push-newpackage new file mode 100755 index 0000000..2d01657 --- /dev/null +++ b/tests/tests/push-newpackage @@ -0,0 +1,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. |