Forum: Ruby-core [ruby-trunk - Bug #7482][Open] test_system_redirect_win(TestSystem) failure on Windows 8

Posted by Heesob Park (phasis)
on 2012-11-30 14:58
(Received via mailing list)
Issue #7482 has been reported by phasis68 (Heesob Park).

----------------------------------------
Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
https://bugs.ruby-lang.org/issues/7482

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby -v: ruby 2.0.0dev (2012-11-29) [x64-mingw32]


I found the following test failure on Windows 8.

test_system_redirect_win(TestSystem) 
[c:/work/snapshot-mg64/test/ruby/test_system.rb:123]:
[ruby-talk:258939].
<false> expected but was
<true>.

I think the test_system_redirect_win is a wrong test case.
the ping command is not the point of [ruby-talk:258939].
And the ping result may differ depending on the machine.
Posted by usa (Usaku NAKAMURA) (Guest)
on 2012-11-30 18:29
(Received via mailing list)
Issue #7482 has been updated by usa (Usaku NAKAMURA).


Ah, I should check these Win8 tickets, but I have no time before the 
release
limit of preview 2.

Committers, please check the tickets and fix them (if you can) before 
the release...
----------------------------------------
Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
https://bugs.ruby-lang.org/issues/7482#change-34230

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby -v: ruby 2.0.0dev (2012-11-29) [x64-mingw32]


I found the following test failure on Windows 8.

test_system_redirect_win(TestSystem) 
[c:/work/snapshot-mg64/test/ruby/test_system.rb:123]:
[ruby-talk:258939].
<false> expected but was
<true>.

I think the test_system_redirect_win is a wrong test case.
the ping command is not the point of [ruby-talk:258939].
And the ping result may differ depending on the machine.
Posted by usa (Usaku NAKAMURA) (Guest)
on 2012-12-19 13:36
(Received via mailing list)
Issue #7482 has been updated by usa (Usaku NAKAMURA).

Status changed from Open to Assigned
Assignee set to usa (Usaku NAKAMURA)


----------------------------------------
Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
https://bugs.ruby-lang.org/issues/7482#change-34860

Author: phasis68 (Heesob Park)
Status: Assigned
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category:
Target version:
ruby -v: ruby -v: ruby 2.0.0dev (2012-11-29) [x64-mingw32]


I found the following test failure on Windows 8.

test_system_redirect_win(TestSystem) 
[c:/work/snapshot-mg64/test/ruby/test_system.rb:123]:
[ruby-talk:258939].
<false> expected but was
<true>.

I think the test_system_redirect_win is a wrong test case.
the ping command is not the point of [ruby-talk:258939].
And the ping result may differ depending on the machine.
Posted by usa (Usaku NAKAMURA) (Guest)
on 2012-12-19 14:31
(Received via mailing list)
Issue #7482 has been updated by usa (Usaku NAKAMURA).

Status changed from Assigned to Feedback
Assignee changed from usa (Usaku NAKAMURA) to kosaki (Motohiro KOSAKI)

I can't understand this test.
Kosaki-san, can you describe?
----------------------------------------
Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
https://bugs.ruby-lang.org/issues/7482#change-34865

Author: phasis68 (Heesob Park)
Status: Feedback
Priority: Normal
Assignee: kosaki (Motohiro KOSAKI)
Category:
Target version:
ruby -v: ruby -v: ruby 2.0.0dev (2012-11-29) [x64-mingw32]


I found the following test failure on Windows 8.

test_system_redirect_win(TestSystem) 
[c:/work/snapshot-mg64/test/ruby/test_system.rb:123]:
[ruby-talk:258939].
<false> expected but was
<true>.

I think the test_system_redirect_win is a wrong test case.
the ping command is not the point of [ruby-talk:258939].
And the ping result may differ depending on the machine.
Posted by drbrain (Eric Hodel) (Guest)
on 2013-01-25 23:10
(Received via mailing list)
Issue #7482 has been updated by drbrain (Eric Hodel).


Kosaki-san, can you check this issue?
----------------------------------------
Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
https://bugs.ruby-lang.org/issues/7482#change-35663

Author: phasis68 (Heesob Park)
Status: Feedback
Priority: Normal
Assignee: kosaki (Motohiro KOSAKI)
Category:
Target version:
ruby -v: ruby -v: ruby 2.0.0dev (2012-11-29) [x64-mingw32]


I found the following test failure on Windows 8.

test_system_redirect_win(TestSystem) 
[c:/work/snapshot-mg64/test/ruby/test_system.rb:123]:
[ruby-talk:258939].
<false> expected but was
<true>.

I think the test_system_redirect_win is a wrong test case.
the ping command is not the point of [ruby-talk:258939].
And the ping result may differ depending on the machine.
Posted by Heesob Park (phasis)
on 2013-01-27 08:59
(Received via mailing list)
Issue #7482 has been updated by phasis68 (Heesob Park).


As you can see in 
http://ci.rubyinstaller.org/job/ruby-trunk-x64-tes...,
This issues is not solved with changeset r38956.

  1) Failure:
test_system_redirect_win(TestSystem) 
[C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/ruby/test_system.rb:144]:
[ruby-talk:258939]
out.txt:
err.txt:
  "'\"C:\\Windows/system32/find.exe BFI3CHL671\"' is not recognized as 
an internal or external command,\n"
  "operable program or batch file.\n"
system("\"%WINDIR%/system32/find.exe BFI3CHL671\" input.txt > out.txt 
2>err.txt").
<true> expected but was
<false>.

This failure is also occurred on Windows 8.

I'm not sure why you think the third case should be true.
Here is patch:
diff --git a/test_system.rb b/test_system.rb.new
index b877538..db19a3c 100644
--- a/test_system.rb
+++ b/test_system.rb.new
@@ -141,7 +141,7 @@ class TestSystem < Test::Unit::TestCase
         cmd = "\"%WINDIR%/system32/find.exe\" \"BFI3CHL671\" input.txt 
> out.txt 2>err.txt"
         assert_equal(true, system(cmd), message)
         cmd = "\"%WINDIR%/system32/find.exe BFI3CHL671\" input.txt > 
out.txt 2>err.txt"
-        assert_equal(true, system(cmd), message)
+        assert_equal(false, system(cmd), message)
       end
     end
   end



----------------------------------------
Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
https://bugs.ruby-lang.org/issues/7482#change-35676

Author: phasis68 (Heesob Park)
Status: Closed
Priority: Normal
Assignee: kosaki (Motohiro KOSAKI)
Category:
Target version:
ruby -v: ruby -v: ruby 2.0.0dev (2012-11-29) [x64-mingw32]


I found the following test failure on Windows 8.

test_system_redirect_win(TestSystem) 
[c:/work/snapshot-mg64/test/ruby/test_system.rb:123]:
[ruby-talk:258939].
<false> expected but was
<true>.

I think the test_system_redirect_win is a wrong test case.
the ping command is not the point of [ruby-talk:258939].
And the ping result may differ depending on the machine.
Posted by Luis Lavena (luislavena)
on 2013-01-27 16:32
(Received via mailing list)
Issue #7482 has been updated by luislavena (Luis Lavena).

Category set to test
Status changed from Closed to Assigned
Assignee changed from kosaki (Motohiro KOSAKI) to nobu (Nobuyoshi 
Nakada)
Target version set to 2.0.0
% Done changed from 100 to 50


----------------------------------------
Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
https://bugs.ruby-lang.org/issues/7482#change-35677

Author: phasis68 (Heesob Park)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: test
Target version: 2.0.0
ruby -v: ruby -v: ruby 2.0.0dev (2012-11-29) [x64-mingw32]


I found the following test failure on Windows 8.

test_system_redirect_win(TestSystem) 
[c:/work/snapshot-mg64/test/ruby/test_system.rb:123]:
[ruby-talk:258939].
<false> expected but was
<true>.

I think the test_system_redirect_win is a wrong test case.
the ping command is not the point of [ruby-talk:258939].
And the ping result may differ depending on the machine.
Posted by Nobuyoshi Nakada (nobu)
on 2013-01-28 03:56
(Received via mailing list)
Issue #7482 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Assigned to Closed
% Done changed from 50 to 100


----------------------------------------
Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
https://bugs.ruby-lang.org/issues/7482#change-35683

Author: phasis68 (Heesob Park)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: test
Target version: 2.0.0
ruby -v: ruby -v: ruby 2.0.0dev (2012-11-29) [x64-mingw32]


I found the following test failure on Windows 8.

test_system_redirect_win(TestSystem) 
[c:/work/snapshot-mg64/test/ruby/test_system.rb:123]:
[ruby-talk:258939].
<false> expected but was
<true>.

I think the test_system_redirect_win is a wrong test case.
the ping command is not the point of [ruby-talk:258939].
And the ping result may differ depending on the machine.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.