chiark / gitweb /
dgit: aptget archive access method
[dgit.git] / tests / tests / push-newpackage
index 2bfa5d5a30871cba470689348d2e9d439996d8cb..d0f3f35a40d9927af72afb01fd3aa5c729836046 100755 (executable)
@@ -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