From: Alex Riesen Date: Mon, 3 Mar 2008 23:48:56 +0000 (+0100) Subject: Fix test for cleanup failure in t7300 on Windows X-Git-Tag: v1.5.5-rc0~69 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a798b2c0f60ed7ae9161a4c4affb6127ff3b2575;p=git.git 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 --- 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