X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fpush-newpackage;h=79355e3e4851014c665d697d0cfde8234b6c56f3;hb=019f49c1c81145e61b1e066efe937e93e64fee7d;hp=9954b3fc9fb424cc9a763fc795bced4743812210;hpb=6f3d4836d4e9aedbaf929a231db64e5536631c95;p=dgit.git diff --git a/tests/tests/push-newpackage b/tests/tests/push-newpackage index 9954b3fc..79355e3e 100755 --- a/tests/tests/push-newpackage +++ b/tests/tests/push-newpackage @@ -2,20 +2,14 @@ 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 +t-prep-newpackage pari-extra 3-1 +cd $p t-refs-same-start t-ref-head -LANG=C t-dgit push 2>&1 \ - | tee /dev/stderr \ - | grep 'package appears to be new in this suite' >/dev/null +t-expect-push-fail 'package appears to be new in this suite' \ +t-dgit push t-dgit build @@ -33,4 +27,4 @@ t-dgit push --new t-pushed-good master -echo ok. +t-ok