]> git.scripts.mit.edu Git - git.git/commit
t0008: use named pipe (FIFO) to test check-ignore streaming
authorAdam Spiers <git@adamspiers.org>
Mon, 29 Apr 2013 22:55:25 +0000 (23:55 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Apr 2013 23:08:33 +0000 (16:08 -0700)
commitb96114edb36e16d214af1e7945a1d19b8a5e1686
tree515aa4c4e6abea2cad467f5d6b94a09739d1da2f
parentf1ed7fea7974218db15155f3b8d2e29d3fe0971c
t0008: use named pipe (FIFO) to test check-ignore streaming

sleeps in the check-ignore test suite are not ideal since they can
fail when the system is under load, or when a tool like valgrind is
used which drastically alters the timing.  Therefore we replace them
with a more robust solution using a named pipe (FIFO).

Thanks to Jeff King for coming up with the redirection wizardry
required to make this work.

http://article.gmane.org/gmane.comp.version-control.git/220916

Signed-off-by: Adam Spiers <git@adamspiers.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0008-ignores.sh