From 3ea59412e83065b38b52cb8d7b8432e0f516de6c Mon Sep 17 00:00:00 2001 From: Wieland Hoffmann Date: Tue, 11 Jun 2013 14:14:56 +0200 Subject: pre-push.sample: Make the script executable githooks(5) says that "[...]the .sample files are executable by default" which was not true. Signed-off-by: Wieland Hoffmann Signed-off-by: Junio C Hamano --- templates/hooks--pre-push.sample | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 templates/hooks--pre-push.sample diff --git a/templates/hooks--pre-push.sample b/templates/hooks--pre-push.sample old mode 100644 new mode 100755 -- cgit v1.2.3 From b3b8ceb48b7d75631a8638f1dc6ccdf7f1b53888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20B=C3=B6gershausen?= Date: Sat, 8 Jun 2013 14:17:49 +0200 Subject: t0070 "mktemp to unwritable directory" needs SANITY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the SANITY prerequisite when testing if a temp file can be created in a read only directory. Skip the test under CYGWIN, or skip it under Unix/Linux when it is run as root. Signed-off-by: Torsten Bögershausen Signed-off-by: Junio C Hamano --- t/t0070-fundamental.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t0070-fundamental.sh b/t/t0070-fundamental.sh index da2c504e53..986b2a8f26 100755 --- a/t/t0070-fundamental.sh +++ b/t/t0070-fundamental.sh @@ -17,7 +17,7 @@ test_expect_success 'mktemp to nonexistent directory prints filename' ' grep "doesnotexist/test" err ' -test_expect_success POSIXPERM 'mktemp to unwritable directory prints filename' ' +test_expect_success POSIXPERM,SANITY 'mktemp to unwritable directory prints filename' ' mkdir cannotwrite && chmod -w cannotwrite && test_when_finished "chmod +w cannotwrite" && -- cgit v1.2.3