This forwarded onto the list, slightly cut for brevity
--
Mark Fowler
Technology Developer
http://www.indicosoftware.com/
-- FORWARDED MESSAGE --
Mark
Herewith I am sending the error part of the make test.
I think I am getting it from dbi.t but I know for sure that DBI works in my
machine, as I am running lots of db app.I also installed the latest version
of DBI(1.20).Please take a look and let me know your input
Thanks
Kris
Here we go:
t/dbi...............1..63
[snip 1..57 working fine - Mark]
ok 58 - template test 28 processed OK: [% USE dbi(dsn, user, pass, attr...
MATCH FAILED
input: [[% USE dbi(dsn, user, pass, attr) -%]
[% users = dbi.query('SELECT * FROM usr ORDER BY id') -%]
size: [% users.size +%]
max: [% users.max +%]
]
expect: [size: 6
max: 5]
output: [size: 5
max: 4]
not ok 59 - did not match expected
ok 60 - template test 29 processed OK: [% USE dbi(dsn, user, pass, attr...
MATCH FAILED
input: [[% USE dbi(dsn, user, pass, attr) -%]
There are [% dbi.query('SELECT * FROM usr').size -%] users
]
expect: [There are 6 users]
output: [There are 5 users]
not ok 61 - did not match expected
ok 62 - template test 30 processed OK: [% USE dbi(dsn, user, pass, attr...
MATCH FAILED
input: [[% USE dbi(dsn, user, pass, attr) -%]
[% FOREACH user = dbi.query('SELECT * FROM usr ORDER BY id') -%]
[% loop.count %]/[%loop.size %] ([% loop.index %]/[% loop.max %]) [%
user.name %]
[% END %]
]
expect: [1/6 (0/5) Andy Wardley
2/6 (1/5) Craig Barratt
3/6 (2/5) Davey Boy
4/6 (3/5) Hans von Lengerke
5/6 (4/5) Martin Portman
6/6 (5/5) Simon Matthews]
output: [1/5 (0/4) Andy Wardley
2/5 (1/4) Craig Barratt
3/5 (2/4) Hans von Lengerke
4/5 (3/4) Martin Portman
5/5 (4/4) Simon Matthews]
not ok 63 - did not match expected
FAILED tests 59, 61, 63
Failed 3/63 tests, 95.24% okay