{"thread":{"id":"34066","subject":"[PATCH V2] t0070 \"mktemp to unwritable directory\" needs SANITY","startedAt":"2013-06-08T12:17:49Z","lastAt":"2013-06-08T12:17:49Z","messageCount":1,"participants":["Torsten Bögershausen"],"isPatch":true,"patchVersion":2,"patchTotal":null},"messages":[{"id":"219809","messageId":"201306081417.49990.tboegi@web.de","threadId":"34066","inReplyTo":null,"subject":"[PATCH V2] t0070 \"mktemp to unwritable directory\" needs SANITY","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2013-06-08T12:17:49Z","receivedAt":"2013-06-08T12:17:49Z","isPatch":true,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"Use the SANITY prerequisite when testing if a temp file can\nbe created in a read only directory.\nSkip the test under CYGWIN, or skip it under Unix/Linux when\nit is run as root.\n\nSigned-off-by: Torsten Bögershausen <tboegi@web.de>\n---\n t/t0070-fundamental.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t0070-fundamental.sh b/t/t0070-fundamental.sh\nindex da2c504..986b2a8 100755\n--- a/t/t0070-fundamental.sh\n+++ b/t/t0070-fundamental.sh\n@@ -17,7 +17,7 @@ test_expect_success 'mktemp to nonexistent directory prints filename' '\n \tgrep \"doesnotexist/test\" err\n '\n \n-test_expect_success POSIXPERM 'mktemp to unwritable directory prints filename' '\n+test_expect_success POSIXPERM,SANITY 'mktemp to unwritable directory prints filename' '\n \tmkdir cannotwrite &&\n \tchmod -w cannotwrite &&\n \ttest_when_finished \"chmod +w cannotwrite\" &&\n-- \n1.8.3\n"}]}