summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-03-25 13:23:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-25 13:23:21 -0700
commitefee5981d3d5d72f9cc7208ba7c5e9ce4afc8598 (patch)
tree746e654b014a5d6bc2db9ad50acbc2f59f403023 /t
parentt0302: test credential-store support for XDG_CONFIG_HOME (diff)
downloadtgif-efee5981d3d5d72f9cc7208ba7c5e9ce4afc8598.tar.xz
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')
-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 4e1f8ecddd..0979df93a1 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" &&