summaryrefslogtreecommitdiff
path: root/t/t0302-credential-store.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-25 20:23:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-25 20:23:21 (GMT)
commitefee5981d3d5d72f9cc7208ba7c5e9ce4afc8598 (patch)
tree746e654b014a5d6bc2db9ad50acbc2f59f403023 /t/t0302-credential-store.sh
parent7e314539d6f3c1e53a826e8a857cef174a023510 (diff)
downloadgit-efee5981d3d5d72f9cc7208ba7c5e9ce4afc8598.zip
git-efee5981d3d5d72f9cc7208ba7c5e9ce4afc8598.tar.gz
git-efee5981d3d5d72f9cc7208ba7c5e9ce4afc8598.tar.bz2
t0302: "unreadable" test needs POSIXPERM
Noticed and fixed by Eric Sunshine, confirmed by Johannes Sixt. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0302-credential-store.sh')
-rwxr-xr-xt/t0302-credential-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0302-credential-store.sh b/t/t0302-credential-store.sh
index 4e1f8ec..0979df9 100755
--- a/t/t0302-credential-store.sh
+++ b/t/t0302-credential-store.sh
@@ -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" &&