{"thread":{"id":"39613","subject":"[PATCH] t0302: \"unreadable\" test needs SANITY prereq","startedAt":"2015-06-12T13:29:58Z","lastAt":"2015-06-12T13:36:52Z","messageCount":2,"participants":["Paul Tan","Jeff King"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"263664","messageId":"1434115798-8250-1-git-send-email-pyokagan@gmail.com","threadId":"39613","inReplyTo":null,"subject":"[PATCH] t0302: \"unreadable\" test needs SANITY prereq","fromName":"Paul Tan","fromEmail":"pyokagan@gmail.com","sentAt":"2015-06-12T13:29:58Z","receivedAt":"2015-06-12T13:29:58Z","isPatch":true,"sender":{"key":"pyokagan@gmail.com","avatar":"https://avatars.githubusercontent.com/u/109479?v=4"},"body":"The test expects that \"chmod -r ~/.git-credentials\" would make it\nunreadable to the user, and thus needs the SANITY prerequisite.\n\nReported-by: Jean-Yves LENHOF <jean-yves@lenhof.eu.org>\nSigned-off-by: Paul Tan <pyokagan@gmail.com>\n---\n t/t0302-credential-store.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t0302-credential-store.sh b/t/t0302-credential-store.sh\nindex 0979df9..1d8d1f2 100755\n--- a/t/t0302-credential-store.sh\n+++ b/t/t0302-credential-store.sh\n@@ -75,7 +75,7 @@ test_expect_success 'get: use xdg file if home file has no matches' '\n \tEOF\n '\n \n-test_expect_success POSIXPERM 'get: use xdg file if home file is unreadable' '\n+test_expect_success POSIXPERM,SANITY 'get: use xdg file if home file is unreadable' '\n \techo \"https://home-user:home-pass@example.com\" >\"$HOME/.git-credentials\" &&\n \tchmod -r \"$HOME/.git-credentials\" &&\n \tmkdir -p \"$HOME/.config/git\" &&\n-- \n2.1.4\n"},{"id":"263665","messageId":"20150612133652.GA2446@peff.net","threadId":"39613","inReplyTo":"1434115798-8250-1-git-send-email-pyokagan@gmail.com","subject":"Re: [PATCH] t0302: \"unreadable\" test needs SANITY prereq","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2015-06-12T13:36:52Z","receivedAt":"2015-06-12T13:36:52Z","isPatch":true,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Fri, Jun 12, 2015 at 09:29:58PM +0800, Paul Tan wrote:\n\n> The test expects that \"chmod -r ~/.git-credentials\" would make it\n> unreadable to the user, and thus needs the SANITY prerequisite.\n\nYup, looks obviously correct to me. Thanks for a quick turnaround.\n\n-Peff\n"}]}