diff options
author | Eric Wong <e@80x24.org> | 2016-07-12 21:11:32 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-12 21:13:18 +0000 |
commit | e6b13ef8ba6eaa3efe3808845ddfe7e0b7b1c46b (patch) | |
tree | be1faed43071ca4733c68f8986e37fb4a15ddf5b | |
parent | 84989a48f20d1bc383a9925b919edc66fc4bccdb (diff) | |
download | yahns-e6b13ef8ba6eaa3efe3808845ddfe7e0b7b1c46b.tar.gz |
We may have temporary files lingering from concurrent multi-threaded tests in our forked child since FD_CLOFORK does not exist :P
-rw-r--r-- | test/test_proxy_pass_no_buffering.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class TestProxyPassNoBuffering < Testcase 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}" |