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: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 59F4820196 for ; Tue, 12 Jul 2016 21:41:05 +0000 (UTC) From: Eric Wong To: yahns-public@yhbt.net Subject: [PATCH 1/3] test_proxy_pass_no_buffering: exclude rb/ru files, too Date: Tue, 12 Jul 2016 21:41:01 +0000 Message-Id: <20160712214103.12282-2-e@80x24.org> In-Reply-To: <20160712214103.12282-1-e@80x24.org> References: <20160712214103.12282-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