Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t0302: "unreadable" test needs SANITY prereq
author
Paul Tan
<pyokagan@gmail.com>
Fri, 12 Jun 2015 13:29:58 +0000
(21:29 +0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 12 Jun 2015 20:57:51 +0000
(13:57 -0700)
The test expects that "chmod -r ~/.git-credentials" would make it
unreadable to the user, and thus needs the SANITY prerequisite.
Reported-by: Jean-Yves LENHOF <jean-yves@lenhof.eu.org>
Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0302-credential-store.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
efee598
)
diff --git
a/t/t0302-credential-store.sh
b/t/t0302-credential-store.sh
index 0979df93a1062020e92fa55a780678e20db4f9db..1d8d1f210b99e888fa39da14f73aef19eaf338b5 100755
(executable)
--- 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 POSIXPERM 'get: use xdg file if home file is unreadable' '
+test_expect_success POSIXPERM
,SANITY
'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" &&