Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre2
Assignee: Thomas E Enebo
Created: 03/Jul/12 6:35 AM
Description:

The test suite fails

# ant test
Buildfile: /builddir/build/BUILD/jruby-1.7.0.preview2.dev/build.xml

init:

prepare-bin-jruby:

jar:

init:

create-dirs:

copy-resources:

update-constants:
     [echo] Updating Constants.java
     [exec] Result: 127
     [echo] ...using git revision = fffffff, tzdata = 2011n
     [copy] Copying 1 file to /builddir/build/BUILD/jruby-1.7.0.preview2.dev/src_gen/org/jruby/runtime

_uc_internal_:

prepare:

compile-annotation-binder:

compile-jruby:
      [apt] Since compiler setting isn't classic or modern, ignoring fork setting.
      [apt] Since compiler setting isn't classic or modern, ignoring fork setting.

emma:

instrument:

generate-method-classes:

_gmc_internal_:

generate-unsafe:

_gu_internal_:

compile:

unzip-native-libs:

jar-jruby:

add-emma-jars:

compile-test:
    [javac] Compiling 2 source files to /builddir/build/BUILD/jruby-1.7.0.preview2.dev/build/classes/test
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] 1 warning

copy-test-files:

install-dev-gems:

install-jruby-launcher-gem:

install-gems:

run-junit-interpreted-short:
     [echo] compile=OFF, jit.threshold=20, jit.maxsize=1000000000, jit.max=-1, objectspace=false threadpool=false reflection=false version=ruby1_8
    [junit] WARNING: multiple versions of ant detected in path for junit 
    [junit]          jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/Project.class
    [junit]      and jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
    [junit] Testsuite: org.jruby.test.JRubyTestSuite
    [junit] Tests run: 25, Failures: 1, Errors: 0, Time elapsed: 9,38 sec
    [junit] 
    [junit] Testcase: test_dir(org.jruby.test.TestUnitTestSuite$ScriptTest):	FAILED
    [junit] Faults encountered running test/test_dir, complete output follows:
    [junit] Failure:
    [junit] test_mkdir_on_protected_directory_fails(TestDir)
    [junit]     [./test/test_dir.rb:450:in `test_mkdir_on_protected_directory_fails'
    [junit]      org/jruby/RubyKernel.java:1977:in `send'
    [junit]      org/jruby/RubyArray.java:1615:in `each']:
    [junit] <Errno::EACCES> exception expected but none was thrown.
    [junit] 
    [junit] junit.framework.AssertionFailedError: Faults encountered running test/test_dir, complete output follows:
    [junit] Failure:
    [junit] test_mkdir_on_protected_directory_fails(TestDir)
    [junit]     [./test/test_dir.rb:450:in `test_mkdir_on_protected_directory_fails'
    [junit]      org/jruby/RubyKernel.java:1977:in `send'
    [junit]      org/jruby/RubyArray.java:1615:in `each']:
    [junit] <Errno::EACCES> exception expected but none was thrown.
    [junit] 
    [junit] 	at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:232)
    [junit] 
    [junit] 

BUILD FAILED
/builddir/build/BUILD/jruby-1.7.0.preview2.dev/build.xml:935: The following error occurred while executing this line:
/builddir/build/BUILD/jruby-1.7.0.preview2.dev/build.xml:1050: The following error occurred while executing this line:
/builddir/build/BUILD/jruby-1.7.0.preview2.dev/build.xml:991: Tests failed

Total time: 19 seconds
Environment: Fedora Rawhide
Project: JRuby
Priority: Major Major
Reporter: Vit Ondruch
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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

Reply via email to