]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5540-http-push.sh
t/: Use "test_must_fail git" instead of "! git"
[thirdparty/git.git] / t / t5540-http-push.sh
index 21dbb557b7cfad412ba1796519a7a63a403c35bb..f8c17cd96cc86ca8f2db2ff51467f712d65f8956 100755 (executable)
@@ -73,7 +73,7 @@ test_expect_failure 'create and delete remote branch' '
        git push origin :dev &&
        git branch -d -r origin/dev &&
        git fetch &&
-       ! git show-ref --verify refs/remotes/origin/dev
+       test_must_fail git show-ref --verify refs/remotes/origin/dev
 '
 
 stop_httpd