Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_backquote.rb
Original file line number Diff line number Diff line change
@@ -14,7 +14,9 @@ def test_backquote_special_commands
end

def test_backquote_special_commands_and_cwd_inside_classloader
if File.exists?("/bin/echo")
# not sure why it fails with java-1.6 - assume it is rare feature
# and works for java-1.7+
if File.exists?("/bin/echo") and not ENV_JAVA['java.version'].start_with?("1.6.")
begin
cwd = Dir.pwd
Dir.chdir('uri:classloader:/')

0 comments on commit 08ecc3c

Please sign in to comment.