From a798b2c0f60ed7ae9161a4c4affb6127ff3b2575 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Tue, 4 Mar 2008 00:48:56 +0100 Subject: [PATCH] Fix test for cleanup failure in t7300 on Windows Keep the file open to: the OS does not allow removal of open files. The saner systems just have a saner permission model and chmod 0 is enough for the test. Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano --- t/t7300-clean.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh index 38403643a..403714292 100755 --- a/t/t7300-clean.sh +++ b/t/t7300-clean.sh @@ -320,8 +320,9 @@ test_expect_success 'removal failure' ' mkdir foo && touch foo/bar && + exec