X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fpush-newpackage;h=79355e3e4851014c665d697d0cfde8234b6c56f3;hb=6b959bf443c37b26f058aed813885c469c660828;hp=5d23faa8312cfaeba869a5ea7d50a57da1aa8fb5;hpb=a34850cd18a1e8f163f3dda9c8fb6272706a8ea0;p=dgit.git diff --git a/tests/tests/push-newpackage b/tests/tests/push-newpackage index 5d23faa8..79355e3e 100755 --- a/tests/tests/push-newpackage +++ b/tests/tests/push-newpackage @@ -8,9 +8,8 @@ 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 @@ -28,4 +27,4 @@ t-dgit push --new t-pushed-good master -echo ok. +t-ok