From c2d43f9859a861f8522c32bb42e9f74fd229b6bf Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 Nov 2013 16:15:37 +0000 Subject: autopkgtests: push test; specify dummy upload host; specify dput host and config --- tests/tests/push-newpackage | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 tests/tests/push-newpackage (limited to 'tests/tests/push-newpackage') 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. -- cgit v1.2.3