SourceForge has been redesigned. Learn more.
Close

t/06wrap.t failed 6/56, is it normal?

Help
Tong Sun
2006-10-29
2013-05-01
  • Tong Sun

    Tong Sun - 2006-10-29

    Hi,

    I'm installing XML::XSH2 under Debian Testing, and notice several failures during its self-testing, is it normall?

    t/06wrap..............ok 15/56Assertion failed "<?foo ?><foo/><!--foo-->"="<?foo?><foo/><!--foo-->" at <xsh() called from (eval 52) line 3> line 3, column 101, offset 101.
    t/06wrap..............NOK 32# Failed test 32 in t/06wrap.t at line 186 fail #28
    #  t/06wrap.t line 186 is:   ok( !$@ );
    Assertion failed xsh:serialize(/node())="<?foo?><bar><foo/></bar><!--foo-->" at <xsh() called from (eval 56) line 3> line 1, column 108,
    t/06wrap..............NOK 35# Failed test 35 in t/06wrap.t at line 186 fail #31
    Assertion failed xsh:serialize(/node())="<?foo?><!--foo-->" at <xsh() called from (eval 58) line 3> line 1, column 91,
    t/06wrap..............NOK 37# Failed test 37 in t/06wrap.t at line 186 fail #33
    Assertion failed xsh:serialize(/node())="<foo><?foo?></foo><!--foo-->" at <xsh() called from (eval 60) line 3> line 1, column 102,
    t/06wrap..............NOK 40# Failed test 40 in t/06wrap.t at line 186 fail #36
    Assertion failed xsh:serialize(/node())="<?foo?><!--foo-->" at <xsh() called from (eval 62) line 3> line 1, column 91,
    t/06wrap..............NOK 42# Failed test 42 in t/06wrap.t at line 186 fail #38
    Assertion failed xsh:serialize(/node())="<?foo?><foo><!--foo--></foo>" at <xsh() called from (eval 64) line 3> line 1, column 102,
    t/06wrap..............NOK 44# Failed test 44 in t/06wrap.t at line 186 fail #40
    t/06wrap..............FAILED tests 32, 35, 37, 40, 42, 44                   
            Failed 6/56 tests, 89.29% okay

     
    • Petr Pajas

      Petr Pajas - 2006-10-29

      Should be harmless (depending on libxml2 version, PI 'foo' serializes either to <?foo?> or <?foo ?>).

      I believe the CVS has an updated regression test for this. If not, please report it again and provide libxml2 version.

      -- Petr

       

Log in to post a comment.