Skip to content

Commit

Permalink
Remove test that doesn't do much and depends on racy ps behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Jan 19, 2015
1 parent 68bf605 commit 7df3659
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/jruby/test_io.rb
Expand Up @@ -426,20 +426,6 @@ def ensure_files(*files)
end
private :ensure_files

# JRUBY-4908 ... Solaris is commented out for now until I can figure out why
# ci will not run it properly.
if !WINDOWS && !SOLARIS
def test_sh_used_appropriately
# should not use sh
p, o, i, e = IO.popen4("/bin/ps -a -f")
assert_match p.to_s, i.read.lines.grep(/\/bin\/ps -a -f/).first

# should use sh
p, o, i, e = IO.popen4("/bin/ps -a -f | grep [/]bin/ps'")
assert_no_match Regexp.new(p.to_s), i.read.lines.grep(/\/bin\/ps/).first
end
end

# JRUBY-5114
def test_autoclose_false_leaves_channels_open
channel = java.io.FileInputStream.new(__FILE__).channel
Expand Down

0 comments on commit 7df3659

Please sign in to comment.