]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0004-unwritable.sh
commit: fix duplication regression in permission error output
[thirdparty/git.git] / t / t0004-unwritable.sh
index d26d18413cc6266e55bfea8e3f2d22a65e9c406c..3bdafbae0f003863b09d01c6ded07c8c1be14e03 100755 (executable)
@@ -37,7 +37,7 @@ test_expect_success POSIXPERM,SANITY 'commit should notice unwritable repository
 '
 
 test_lazy_prereq COMMIT_OUT 'test -e "$TRASH_DIRECTORY"/out.commit'
-test_expect_failure COMMIT_OUT 'commit output on unwritable repository' '
+test_expect_success COMMIT_OUT 'commit output on unwritable repository' '
        cat >expect <<-\EOF &&
        error: insufficient permission for adding an object to repository database .git/objects
        error: Error building trees