Re: t5401-update-hooks test failure
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 9, 2010, 23:16 UTC
- Message-ID
- <7vljf2xane.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <7vpr4eyqok.fsf@alter.siamese.dyndns.org>
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' '