]> git.ipfire.org Git - thirdparty/git.git/commit
t1400: have fifo test clean after itself
authorJunio C Hamano <gitster@pobox.com>
Wed, 10 Jun 2026 21:39:08 +0000 (14:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Jun 2026 12:34:40 +0000 (05:34 -0700)
commite8f12e0e950a3735ccc2ed0bed2552ec1dcdd078
tree1cc4fc88992c13ec1f9dffb9990fa02de1fb139f
parent67ad42147a7acc2af6074753ebd03d904476118f
t1400: have fifo test clean after itself

One test in this script creates a pair of FIFOs, "in" and "out",
that are named so generically that later tests may be tempted to use
them.  By the time those later tests run a command with its output
redirected to the file (e.g., "git foobar >out"), however, nobody is
reading from the lingering FIFO, and the test gets blocked forever.

Clean them up when the test finishes.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1400-update-ref.sh