Skip to content
Browse files

Fix tests on non-windows platforms, and for maven build

git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@5925 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information...
1 parent 7fe5a96 commit 7dbe70cd3dd84d02c983ab4d6e293898885df158 @nicksieger nicksieger committed Feb 13, 2008
Showing with 5 additions and 5 deletions.
  1. +5 −5 test/test_launching_by_shell_script.rb
View
10 test/test_launching_by_shell_script.rb
@@ -31,12 +31,12 @@ def test_launch_script
assert_equal 0, $?.exitstatus
end
- def test_system_call_without_stdin_data_doesnt_hang
- out = jruby(%q{-e "system 'dir'"})
- assert(out =~ /COPYING.LGPL/)
- end
-
if WINDOWS
+ def test_system_call_without_stdin_data_doesnt_hang
+ out = jruby(%q{-e "system 'dir test'"})
+ assert(out =~ /fib.rb/)
+ end
+
def test_system_call_with_stdin_data_doesnt_hang_on_windows
out = jruby_with_pipe("echo echo 'one_two_three_test'", %q{-e "system 'cmd'"})
assert(out =~ /one_two_three_test/)

0 comments on commit 7dbe70c

Please sign in to comment.
Something went wrong with that request. Please try again.