From 08dfbae3d340114810fbd279c2ea29825d4b79e8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 18 Feb 2010 19:33:13 -0800 Subject: test-lib: remove needless fd closing too dangerous with the ready_pipe feature in Unicorn 0.96+ --- t/test-lib.sh | 6 ------ 1 file changed, 6 deletions(-) (limited to 't/test-lib.sh') diff --git a/t/test-lib.sh b/t/test-lib.sh index 641bb3b..9a17553 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -99,12 +99,6 @@ pid "$pid" stderr_path "$r_err" stdout_path "$r_out" -# close my-tap-lib.sh FDs -unless ENV['UNICORN_FD'] - IO.for_fd(3).close rescue nil - IO.for_fd(4).close rescue nil -end - before_fork do |server, worker| # test script will block while reading from $fifo, # so notify the script on the first worker we spawn -- cgit v1.2.3-24-ge0c7