[svk-devel] make test fail with svk 1.99_04 on mandriva cooker

Michael Scherer misc at mandriva.org
Wed Nov 29 06:02:32 EST 2006


Hi.

While trying to update the svk rpm of mandriva, i faced a error during the 
make test :

$ PERL5LIB=$PWD/lib perl  t/07smerge-external.t
1..25
ok 1 - sm -C //trunk //local
ok 2 - svk-merge mine
ok 3 - svk-merge mine
ok 4 - svk-merge theirs
ok 5 - sm -m merge to local again //trunk //local
ok 6 - sm -C //trunk //local
ok 7 - sm -m merge to local again //trunk //local
ok 8 - sm -m merge to local again //trunk //local
ok 9 - sm -m merge to local again //trunk //local
ok 10 - sm -m merge to local again //trunk //local
ok 11 - sm -m merge to local again //trunk //local
ok 12 - sm -m merge to local again //trunk //local
Unrecognized character \xE9 at /home/misc/tmp/yZHA4qW0Lg.pl line 2.
not ok 13 - sm -m merge to local again //trunk //local
#   Failed test 'sm -m merge to local again //trunk //local'
#   in t/07smerge-external.t at line 154.
#                   'Auto-merging (8, 10) /trunk to /local (base /trunk:8).
# Waiting for editor...
# Aborted:
# '
#     doesn't match '(?-xism:G   test\.pl)'
not ok 14
#   Failed test in t/07smerge-external.t at line 157.
#          got: 'local!
# '
#     expected: 'edited
# '
ok 15 - sm -C //trunk //local
ok 16 - sm -m merge to local again //trunk //local
ok 17
# Different at 0:
# Auto-merging (15, 17) /trunk to /local (base /trunk:15).
# Auto-merging (16, 18) /trunk to /local (base /trunk:16).
not ok 18 - sm -C //trunk //local
#   Failed test 'sm -C //trunk //local'
#   in t/07smerge-external.t at line 198.
# Different at 0:
# Auto-merging (15, 17) /trunk to /local (base /trunk:15).
# Auto-merging (16, 18) /trunk to /local (base /trunk:16).
not ok 19 - sm -m "merge to local again" //trunk //local
#   Failed test 'sm -m "merge to local again" //trunk //local'
#   in t/07smerge-external.t at line 204.
ok 20 - sm -C //trunk //local
ok 21 - sm -m merge to local again //trunk //local
ok 22
ok 23 - sm -C //trunk //local
Unrecognized character \xE9 at /home/misc/tmp/9hclCjLE4m.pl line 2.
not ok 24 - sm -m merge to local again //trunk //local
#   Failed test 'sm -m merge to local again //trunk //local'
#   in t/07smerge-external.t at line 251.
#                   'Auto-merging (26, 28) /trunk to /local (base /trunk:26).
# Waiting for editor...
# Aborted:
# '
#     doesn't match '(?-xism:G   foo)'
not ok 25
#   Failed test in t/07smerge-external.t at line 254.
#          got: 'local
# '
#     expected: 'merged
# '
# uncleaned txns (2) on //
# Looks like you failed 6 tests of 25.

After searching a while, i found that some modules are not here :

Warning: prerequisite File::Spec 3.19 not found. We have 3.12.
Warning: prerequisite File::Temp 0.17 not found. We have 0.16.

Given the fact they are in core for 5.9, and perl 5.8 still has older version, 
does that mean that i will have to wait on perl 5.10 to be able to use svk 
without fiddling with the system perl ? 
Having to package a external and newer version of two core modules File::Spec 
and File::Temp is going to be tricky, and I prefer to avoid that.

Are the test error linked to the missing modules ?

-- 
Michael Scherer


More information about the svk-devel mailing list