X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5406-remote-rejects.sh;h=59e80a5ea253607bf83ac4eed670744df950eb81;hb=50c94032844bb184cdeff7779be3b6a23e04d312;hp=46b2cb4e46d9d8bb2ae8cf2ea5d6b03331d4ac05;hpb=196821f440d46029f0399a7d97c0cfc78a870244;p=git.git diff --git a/t/t5406-remote-rejects.sh b/t/t5406-remote-rejects.sh index 46b2cb4e4..59e80a5ea 100755 --- a/t/t5406-remote-rejects.sh +++ b/t/t5406-remote-rejects.sh @@ -17,7 +17,7 @@ test_expect_success 'setup' ' git commit -a -m 2 ' -test_expect_success 'push reports error' '! git push 2>stderr' +test_expect_success 'push reports error' 'test_must_fail git push 2>stderr' test_expect_success 'individual ref reports error' 'grep rejected stderr'