Oh, I hate myself ;-) This seems to fix the test. Could somebody please explain why? I am guessing it has something to do with O_APPEND but I cannot come up with a commit log message that clearly describes the fix. t/t5401-update-hooks.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/t/t5401-update-hooks.sh b/t/t5401-update-hooks.sh index c3cf397..804431a 100755 --- a/t/t5401-update-hooks.sh +++ b/t/t5401-update-hooks.sh @@ -61,8 +61,9 @@ EOF chmod u+x victim/.git/hooks/post-update test_expect_success push ' + rm -f send.out send.err && test_must_fail git send-pack --force ./victim/.git \ - master tofail >send.out 2>send.err + master tofail >>send.out 2>>send.err ' test_expect_success 'updated as expected' ' -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html