about summary refs log tree commit homepage
path: root/test/test_mogilefs_integration_large_pipe.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_mogilefs_integration_large_pipe.rb')
-rw-r--r--test/test_mogilefs_integration_large_pipe.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_mogilefs_integration_large_pipe.rb b/test/test_mogilefs_integration_large_pipe.rb
index afc252e..49b9397 100644
--- a/test/test_mogilefs_integration_large_pipe.rb
+++ b/test/test_mogilefs_integration_large_pipe.rb
@@ -40,8 +40,8 @@ class TestMogileFSLargePipe< TestMogIntegration
     File.unlink(tmp_path)
     x!("mkfifo", tmp_path)
     pid = fork do
-      File.open(tmp_path, "wb") do |w|
-        nr.times { w.write(junk) }
+      File.open(tmp_path, "wb") do |wr|
+        nr.times { wr.write(junk) }
       end
     end
     assert_equal(nr * junk.size, @client.store_file("fifo", nil, tmp_path))