From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS12876 62.210.0.0/16 X-Spam-Status: No, score=-1.4 required=3.0 tests=AWL,BAYES_00, RCVD_IN_MSPIKE_BL,RCVD_IN_MSPIKE_ZBI,RCVD_IN_XBL,RDNS_DYNAMIC,SPF_FAIL, SPF_HELO_FAIL,TO_EQ_FM_DOM_SPF_FAIL shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from 80x24.org (62-210-37-82.rev.poneytelecom.eu [62.210.37.82]) by dcvr.yhbt.net (Postfix) with ESMTP id D0A8C1FE4E for ; Tue, 12 Jul 2016 21:11:36 +0000 (UTC) From: Eric Wong To: spew@80x24.org Subject: [PATCH 1/3] test_proxy_pass_no_buffering: exclude rb/ru files, too Date: Tue, 12 Jul 2016 21:11:32 +0000 Message-Id: <20160712211134.23075-1-e@80x24.org> List-Id: We may have temporary files lingering from concurrent multi-threaded tests in our forked child since FD_CLOFORK does not exist :P --- test/test_proxy_pass_no_buffering.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_proxy_pass_no_buffering.rb b/test/test_proxy_pass_no_buffering.rb index 0afa4e1..2dc3b0b 100644 --- a/test/test_proxy_pass_no_buffering.rb +++ b/test/test_proxy_pass_no_buffering.rb @@ -106,7 +106,7 @@ def test_proxy_pass_no_buffering deleted2 = `lsof -p #{pid2}`.split("\n") deleted2 = deleted2.grep(/\bREG\b.*#{qtmpdir}.* \(deleted\)/) [ deleted1, deleted2 ].each do |ary| - ary.delete_if { |x| x =~ /\.(?:err|out) \(deleted\)/ } + ary.delete_if { |x| x =~ /\.(?:err|out|rb|ru) \(deleted\)/ } end assert_equal 1, deleted1.size, "pid1=#{deleted1.inspect}" assert_equal 0, deleted2.size, "pid2=#{deleted2.inspect}" -- EW