YAML fuzz failure in testYAML
-----------------------------

                 Key: JRUBY-4002
                 URL: http://jira.codehaus.org/browse/JRUBY-4002
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
            Reporter: Charles Oliver Nutter
             Fix For: JRuby 1.4


This is from the "fuzzing" test in testYAML, and may or may not represent a 
real-world problem. But it does represent a failure case for YAML.

{noformat}
run-junit-compiled-short:
     [echo] compile=JIT, jit.threshold=0, jit.maxsize=1000000000, jit.max=-1, 
objectspace=true threadpool=false reflection=false version=ruby1_8
    [junit] Testsuite: org.jruby.test.ScriptTestSuite
    [junit] FAILED  6247 expected "GbL\n \n\tsj", found "GbL\n\n\tsj"-- 
./test/testYAML.rb:218:in `fuzz_roundtrip'
    [junit] )
    [junit] Tests run: 78, Failures: 1, Errors: 0, Time elapsed: 21.492 sec
    [junit] 
    [junit] Testcase: testYAML.rb(org.jruby.test.ScriptTestSuite$ScriptTest):   
FAILED
    [junit] test/testYAML.rb failed, complete failure list follows:
    [junit] FAILED  6247 expected "GbL\n \n\tsj", found "GbL\n\n\tsj"-- 
./test/testYAML.rb:218:in `fuzz_roundtrip'
    [junit] 
    [junit] junit.framework.AssertionFailedError: test/testYAML.rb failed, 
complete failure list follows:
    [junit] FAILED  6247 expected "GbL\n \n\tsj", found "GbL\n\n\tsj"-- 
./test/testYAML.rb:218:in `fuzz_roundtrip'
    [junit] 
    [junit]     at 
org.jruby.test.ScriptTestSuite$ScriptTest.runTest(ScriptTestSuite.java:136)
    [junit] 
    [junit] 
{noformat}

To reproduce you'll have to dig into the fuzz test's logic and use the failing 
string shown above.

-- 
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


Reply via email to