X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fpush-newpackage;h=79355e3e4851014c665d697d0cfde8234b6c56f3;hb=0060e3befbe283c90dcf6017ac8261168a6efe10;hp=2bfa5d5a30871cba470689348d2e9d439996d8cb;hpb=38b8cc309c7960a312f375b60dad41ef17ba2739;p=dgit.git diff --git a/tests/tests/push-newpackage b/tests/tests/push-newpackage index 2bfa5d5a..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 -LC_MESSAGES=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