Skip to content

Commit

Permalink
t0302: "unreadable" test needs POSIXPERM
Browse files Browse the repository at this point in the history
Noticed and fixed by Eric Sunshine, confirmed by Johannes Sixt.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Mar 25, 2015
1 parent 7e31453 commit efee598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t0302-credential-store.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" &&
Expand Down

0 comments on commit efee598

Please sign in to comment.