jruby/test/rubicon/test_object_space.rb fails on Windows XP SP 2
----------------------------------------------------------------
Key: JRUBY-3030
URL: http://jira.codehaus.org/browse/JRUBY-3030
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.4
Environment: Windows XP Service Pack 2 (Version 2002)
jruby 1.1.4 (ruby 1.8.6 patchlevel 114) (2008-10-02 rev 7806) [x86-java]
Reporter: Guruprasad Baskaran
Assignee: Thomas E Enebo
Priority: Minor
There is a test_s_finalizers method in test_object_space.rb.This method creates
a temp ruby file and then tries to execute that file with IO.popen method.Below
is the logic for determining if double quotes is needed or not for the command
and since mine is windows it does put the double quotes, but when IO.popen is
run on that command windows just gives a
"The filename, directory name, or volume label syntax is incorrect." instead of
running the command.I have manually run that command from command line and it
works OK.Also when I remove the addition of double quotes from the command the
test case works OK
if ENV['OS'] =~ /\AWin/
command = %{"#$interpreter" "#{tf.path}"}
puts command
else
command = %{#$interpreter #{tf.path}}
end
I would be glad to help if somebody points out to me where to start looking
into, because I am not sure if the problem is with the test case or with the
IO.popen library
Thanks
Guru
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email