]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t5541-http-push.sh
Merge branch 'nd/ls-files-sparse-fix'
[git.git] / t / t5541-http-push.sh
index cc740fe124a4d656b588dc0a881396b068b961f8..83a8e14c6c385d6d6fbdd179d30018128e8a200f 100755 (executable)
@@ -100,18 +100,18 @@ test_expect_success 'non-fast-forward push fails' '
         test $HEAD != $(git rev-parse --verify HEAD))
 '
 
-test_expect_failure 'non-fast-forward push show ref status' '
+test_expect_success 'non-fast-forward push show ref status' '
        grep "^ ! \[rejected\][ ]*master -> master (non-fast-forward)$" output
 '
 
-test_expect_failure 'non-fast-forward push shows help message' '
+test_expect_success 'non-fast-forward push shows help message' '
        grep \
 "To prevent you from losing history, non-fast-forward updates were rejected
 Merge the remote changes before pushing again.  See the '"'non-fast-forward'"'
 section of '"'git push --help'"' for details." output
 '
 
-test_expect_failure 'push fails for non-fast-forward refs unmatched by remote helper' '
+test_expect_success 'push fails for non-fast-forward refs unmatched by remote helper' '
        # create a dissimilarly-named remote ref so that git is unable to match the
        # two refs (viz. local, remote) unless an explicit refspec is provided.
        git push origin master:retsam