chiark / gitweb /
Tests: Exercise policy periodic hook
[dgit.git] / tests / tests / push-newpackage
index 2bfa5d5a30871cba470689348d2e9d439996d8cb..419ffd3e818c0f08f4f53e81d6df8c5414229821 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-fail 'package appears to be new in this suite' \
+t-dgit push
 
 t-dgit build