]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t0302: "unreadable" test needs POSIXPERM
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2015 20:23:21 +0000 (13:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2015 20:23:21 +0000 (13:23 -0700)
Noticed and fixed by Eric Sunshine, confirmed by Johannes Sixt.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0302-credential-store.sh

index 4e1f8ecddd2d65cb9c628a3465a940eb9146a8cd..0979df93a1062020e92fa55a780678e20db4f9db 100755 (executable)
@@ -75,7 +75,7 @@ test_expect_success 'get: use xdg file if home file has no matches' '
        EOF
 '
 
-test_expect_success 'get: use xdg file if home file is unreadable' '
+test_expect_success POSIXPERM 'get: use xdg file if home file is unreadable' '
        echo "https://home-user:home-pass@example.com" >"$HOME/.git-credentials" &&
        chmod -r "$HOME/.git-credentials" &&
        mkdir -p "$HOME/.config/git" &&