update-ref: allow --no-deref with --stdin
[gitweb.git] / t / t5405-send-pack-rewind.sh
index 4bda18a662da5a0c36ee007c37d9ded6be3b1832..235fb7686ae0dec21e81b06dd0b220f0705a6b2e 100755 (executable)
@@ -25,8 +25,7 @@ test_expect_success 'non forced push should die not segfault' '
 
        (
                cd another &&
-               git push .. master:master
-               test $? = 1
+               test_must_fail git push .. master:master
        )
 
 '