chiark / gitweb /
Test suite: Use stunt dpkg-parsechangelog
[dgit.git] / tests / tests / push-newpackage
index 5d23faa8312cfaeba869a5ea7d50a57da1aa8fb5..419ffd3e818c0f08f4f53e81d6df8c5414229821 100755 (executable)
@@ -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-fail 'package appears to be new in this suite' \
+t-dgit push
 
 t-dgit build