[svk-devel] two i18n tests failing

John Goulah jgoulah at gmail.com
Mon Sep 22 18:33:48 EDT 2008


I have two tests failing:
 t/i18n/big5dirname.t
 t/i18n/checkout.t


But otherwise svk seems ok.  Are these tests fixable or is svk ok to force here?


Verbose output:

t/i18n/big5dirname......
1..10
ok 1 - add ¤¤¤å.txt
ok 2 - add ¶}·|.txt
not ok 3 - ci -m "commit single checkout" ·|±à

#   Failed test 'ci -m "commit single checkout" ·|±à'
#   at t/i18n/big5dirname.t line 37.
#     Structures begin differing at:
#          $got->[0] = 'path /home/svkuser/SVK-v2.2.0/t/checkout/·|±à
is not a checkout path.'
#     $expected->[0] = 'Committed revision 1.'
not ok 4 - diff ¤¤¤å.txt

#   Failed test 'diff ¤¤¤å.txt'
#   at t/i18n/big5dirname.t line 44.
#     Structures begin differing at:
#          $got->[0] = 'path
/home/svkuser/SVK-v2.2.0/t/checkout/¤¤¤å.txt is not a checkout path.'
#     $expected->[0] = '=== 中æ<96><87>.txt'
not ok 5 - ci -m "commit single checkout" ¤¤¤å.txt

#   Failed test 'ci -m "commit single checkout" ¤¤¤å.txt'
#   at t/i18n/big5dirname.t line 54.
#     Structures begin differing at:
#          $got->[0] = 'path
/home/svkuser/SVK-v2.2.0/t/checkout/¤¤¤å.txt is not a checkout path.'
#     $expected->[0] = 'Committed revision 2.'
not ok 6

#   Failed test at t/i18n/big5dirname.t line 60.
#          got: undef
#     expected: 'new file to add
# '
Cannot overwrite ¤¤¤å.txt: Permission denied at
/home/svkuser/SVK-v2.2.0/lib/SVK/Test.pm line 288
        SVK::Test::overwrite_file('\x{a4}\x{a4}\x{a4}\x{e5}.txt',
'hihi\x{a}') called at t/i18n/big5dirname.t line 62
--- !!perl/hash:SVK::XD
checkout: !!perl/hash:Data::Hierarchy
  hash:
    /home/svkuser/SVK-v2.2.0/t/checkout/ti18nbig5dirname:
      depotpath: //
      encoding: big5-eten
      revision: 0
  sep: /
  sticky:
    "/home/svkuser/SVK-v2.2.0/t/checkout/ti18nbig5dirname/\xA4\xA4\xA4\xE5.txt":
      .schedule: add
    "/home/svkuser/SVK-v2.2.0/t/checkout/ti18nbig5dirname/\xB6}\xB7|.txt":
      .schedule: add
depotmap:
  "": /tmp/svk-6382
  dirname_enc: /tmp/svk-6382-1
encoding: ~
modified: 1
signature: !!perl/hash:SVK::XD::Signature
  floating: ~
  root: /tmp/svk-6382/cache
svkpath: /tmp/svk-6382
updated: 1
===> depot // (a0fd5166-d1f5-4744-a189-87e3a1d3f999):
===> depot /dirname_enc/ (e4e30e7f-4e31-4a25-abef-731bd837fea5):
# Looks like you planned 10 tests but only ran 6.
# Looks like you failed 4 tests of 6 run.
# Looks like your test died just after 6.
 Dubious, test returned 255 (wstat 65280, 0xff00)
 Failed 8/10 subtests

Test Summary Report
-------------------
t/i18n/big5dirname.t (Wstat: 65280 Tests: 6 Failed: 4)
  Failed tests:  3-6
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 10 tests but ran 6.
Files=1, Tests=6,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.88 cusr
0.06 csys =  0.97 CPU)
Result: FAIL








=======================


t/i18n/checkout......
1..7
ok 1 - add ¤¤¤åÀÉ.txt
ok 2 - ci -m "commit single checkout" ¤¤¤åÀÉ.txt
ok 3 - diff ¤¤¤åÀÉ.txt
ok 4 - ci -m "commit single checkout" ¤¤¤åÀÉ.txt
ok 5
ok 6 - conflict
not ok 7 - diff

#   Failed test 'diff'
#   at t/i18n/checkout.t line 68.
--- !!perl/hash:SVK::XD
checkout: !!perl/hash:Data::Hierarchy
  hash:
    /home/svkuser/SVK-v2.2.0/t/checkout/ti18ncheckout:
      depotpath: //
      encoding: big5-eten
      revision: 2
  sep: /
  sticky:
    "/home/svkuser/SVK-v2.2.0/t/checkout/ti18ncheckout/\xE4\xB8\xAD\xE6\x96\x87\xE6\xAA\x94.txt":
      .conflict: node
depotmap:
  "": /tmp/svk-6386
  filename_enc: /tmp/svk-6386-1
encoding: ~
modified: 1
signature: !!perl/hash:SVK::XD::Signature
  floating: ~
  root: /tmp/svk-6386/cache
svkpath: /tmp/svk-6386
updated: 1
===> depot // (7638eca0-15b9-4d03-a435-d19210419874):
----------------------------------------------------------------------
r2:  svkuser | 2008-09-22 18:13:35 -0400
Changed paths:
  M  /¤¤¤åÀÉ.txt

commit single checkout
----------------------------------------------------------------------
r1:  svkuser | 2008-09-22 18:13:34 -0400
Changed paths:
  A  /¤¤¤åÀÉ.txt

commit single checkout
----------------------------------------------------------------------
===> depot /filename_enc/ (f6662680-e152-43eb-a16c-87aaa931c678):
# Looks like you failed 1 test of 7.
 Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/7 subtests

Test Summary Report
-------------------
t/i18n/checkout.t (Wstat: 256 Tests: 7 Failed: 1)
  Failed test:  7
  Non-zero exit status: 1
Files=1, Tests=7,  1 wallclock secs ( 0.03 usr  0.00 sys +  1.07 cusr
0.07 csys =  1.17 CPU)
Result: FAIL








Thanks for the help!
John Goulah


More information about the svk-devel mailing list