Berger, Daniel
2008-Jan-16 16:21 UTC
[Win32utils-devel] Problem with win32-open3 and net-ping
Hi all, I''m seeing strange behavior with net-ping on Windows, which uses win32-open3 (Open3.popen3) behind the scenes. Download (or checkout) net-ping and run this: ruby -Ilib test\tc_pingexternal.rb It looks like the test suite is running twice. What''s happening? Thanks, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Heesob Park
2008-Jan-17 00:58 UTC
[Win32utils-devel] Problem with win32-open3 and net-ping
Hi, 2008/1/17, Berger, Daniel <Daniel.Berger at qwest.com>:> Hi all, > > I''m seeing strange behavior with net-ping on Windows, which uses > win32-open3 (Open3.popen3) behind the scenes. > > Download (or checkout) net-ping and run this: > > ruby -Ilib test\tc_pingexternal.rb > > It looks like the test suite is running twice. What''s happening?In my test with net-ping 1.2.1, Loaded suite test/tc_pingexternal Started ........... Finished in 7.438 seconds. 11 tests, 31 assertions, 0 failures, 0 errors What''s the expected result?> Thanks, > > DanRegards, Park Heesob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/win32utils-devel/attachments/20080117/79bb52b5/attachment.html
Daniel Berger
2008-Jan-17 03:06 UTC
[Win32utils-devel] Problem with win32-open3 and net-ping
Heesob Park wrote:> Hi, > > 2008/1/17, Berger, Daniel <Daniel.Berger at qwest.com > <mailto:Daniel.Berger at qwest.com>>: > > Hi all, > > I''m seeing strange behavior with net-ping on Windows, which uses > win32-open3 (Open3.popen3 ) behind the scenes. > > Download (or checkout) net-ping and run this: > > ruby -Ilib test\tc_pingexternal.rb > > It looks like the test suite is running twice. What''s happening? > > > In my test with net-ping 1.2.1, > > > Loaded suite test/tc_pingexternal > Started > ........... > Finished in 7.438 seconds. > > 11 tests, 31 assertions, 0 failures, 0 errors > > What''s the expected result?Ok, that''s very strange. When I ran it last night it was as if it were running the tests twice. The first result was normal, then it ran the tests again, and a bunch failed. Now it''s working fine. Come to think of it, I think this might be an issue with the Rakefile. Thanks, Dan
Maybe Matching Threads
- [ win32utils-Bugs-20455 ] win32-open3: crashes after 170 popen3 operations
- Open3.popen3 oddity
- [ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
- [ win32utils-Patches-4603 ] [open3] set $? and return Process::Status with block call
- Open3.popen3 bug