t0302: "unreadable" test needs POSIXPERM
Noticed and fixed by Eric Sunshine, confirmed by Johannes Sixt. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Mar 25, 2015 at 13:23 UTC
efee5981d3d5d72f9cc7208ba7c5e9ce4afc8598
1 file changed
+1
-1
t/t0302-credential-store.sh
+1
-1
@@ -75,7 +75,7 @@ test_expect_success 'get: use xdg file if home file has no matches' '
75
EOF
76
'
77
78
-test_expect_success 'get: use xdg file if home file is unreadable' '
78
+test_expect_success POSIXPERM 'get: use xdg file if home file is unreadable' '
79
echo "https://home-user:home-pass@example.com" >"$HOME/.git-credentials" &&
80
chmod -r "$HOME/.git-credentials" &&
81
mkdir -p "$HOME/.config/git" &&