disable post-checkout test on Cygwin
It is broken because of the tricks we have to play with lstat to get the bearable perfomance out of the call. Sadly, it disables access to Cygwin's executable attribute, which Windows filesystems do not have at all. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Alex Riesen committed
Mar 17, 2009 at 17:22 UTC
d42ec126aa717d00549e387d5a95fd55683c2e2c
1 file changed
+2
t/t5403-post-checkout-hook.sh
+2
@@ -71,6 +71,7 @@ test_expect_success 'post-checkout receives the right args when not switching br
71
test $old = $new -a $flag = 0
72
'
73
74
+if test "$(git config --bool core.filemode)" = true; then
75
mkdir -p templates/hooks
76
cat >templates/hooks/post-checkout <<'EOF'
77
#!/bin/sh
@@ -82,5 +83,6 @@ test_expect_success 'post-checkout hook is triggered by clone' '
83
git clone --template=templates . clone3 &&
84
test -f clone3/.git/post-checkout.args
85
'
86
+fi
87
88
test_done