Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. C:\cpanrun-5.8\build\5-8-0\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t\bad_method.t t\bad_param.t t\bind_array.t t\bind_param.t t\connect.t t\dbi-ok.t t\diff-type.t t\internal.t t\set-value.t t\set_dbi_test_type.t t\set_rows.t t\test-type.t t\wildcard-type.t t\bad_method...........1..17 mock DBI interface initialized... connect() 'CONNECT TO AS WITH ' ok 1 - DBI connect() disconnect() ok 2 - DBI disconnect() prepare() ok 3 - DBI prepare() finish() ok 4 - DBI finish() prepare_cached() ok 5 - DBI prepare_cached() commit() ok 6 - DBI commit() bind_columns() ok 7 - DBI bind_columns() bind_param() parm , value $VAR1 = undef; ok 8 - DBI bind_param() execute() ok 9 - DBI execute() fetchall_arrayref() ok 10 - DBI fetchall_arrayref() fetchrow_arrayref() ok 11 - DBI fetchrow_arrayref() fetchrow_array() ok 12 - DBI fetchrow_array() fetchrow() ok 13 - DBI fetchrow() fetch() ok 14 - DBI fetch() + pattern without SQL do() ok 15 - DBI do() rows() ok 16 - DBI rows() prepare() 'SELECT *' ok 17 - SQL without pattern ok t\bad_param............1..5 # Failed test (t\bad_param.t at line 17) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:MOCK_DBI: BAD PARAM 1 = 'jimbo'.+OK)' not ok 1 - bad param: simple test OK # Failed test (t\bad_param.t at line 23) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:MOCK_DBI: BAD PARAM 2 = 'noblesville'.+OK)' not ok 2 - bad param: 2nd param bad # Failed test (t\bad_param.t at line 30) not ok 3 - bad param: 2nd of 3 params bad # Failed test (t\bad_param.t at line 37) not ok 4 - bad param: no bad params bound # Failed test (t\bad_param.t at line 43) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:bind_param\(\)\s+parm 1, value \$VAR1 = 'jimbo';\s+execute\(\)\s+fetchrow_arrayref\(\)\s+OK)' not ok 5 - bad param: different DBI type so no bad params found # Looks like you failed 5 tests of 5. dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 1-5 Failed 5/5 tests, 0.00% okay t\bind_array...........1..18 mock DBI interface initialized... connect() 'CONNECT TO AS WITH ' prepare() 'no rows returned' bind_columns() 'SCALAR(0x1b80914)' fetch() ok 1 - array - no rows returned prepare() 'TEST 1 column for an array' bind_columns() 'SCALAR(0x1b80914)' fetch() ok 2 - 1 column for an array fetch() ok 3 - array-bound variables undisturbed after fetch ends prepare() 'TEST 2 columns for an array' bind_columns() 'SCALAR(0x1b80914)' fetch() ok 4 - 2 columns for an array prepare() 'TEST many columns for an array' bind_columns() 'SCALAR(0x1b80914)' fetch() ok 5 - many columns for an array prepare() 'TEST many rows returned for an array and rebind' bind_columns() 'SCALAR(0x1c56a90)' fetch() fetch() ok 6 - many rows returned for an array and rebind prepare() 'return value is set by array not coderef, 1 column' bind_columns() 'SCALAR(0x1b80914)' fetch() ok 7 - return value is set by array not coderef, 1 column prepare() 'return value is set by array not coderef, 2 columns' bind_columns() 'SCALAR(0x1b80914)' fetch() ok 8 - return value is set by array not coderef, 2 columns prepare() 'return value is set by array not coderef, many columns' bind_columns() 'SCALAR(0x1b80914)' fetch() ok 9 - return value is set by array not coderef, many columns prepare() 'arrayref - no rows returned' bind_columns() 'SCALAR(0x1b80914)' fetchrow_arrayref() ok 10 - arrayref - no rows returned prepare() 'TEST 1 column for an arrayref' bind_columns() 'SCALAR(0x1b80914)' fetchrow_arrayref() ok 11 - 1 column for an arrayref fetchrow_arrayref() ok 12 - arrayref-bound variables undisturbed after fetch ends prepare() 'TEST 2 columns for an arrayref' bind_columns() 'SCALAR(0x1b80914)' fetchrow_arrayref() ok 13 - 2 columns for an arrayref prepare() 'TEST many columns for an arrayref' bind_columns() 'SCALAR(0x1b80914)' fetchrow_arrayref() ok 14 - many columns for an arrayref prepare() 'TEST many rows returned for an arrayref and rebind' bind_columns() 'SCALAR(0x1c56a90)' fetchrow_arrayref() fetchrow_arrayref() ok 15 - many rows returned for an arrayref and rebind prepare() 'return value is set by arrayref not coderef, 1 column' bind_columns() 'SCALAR(0x1b80914)' fetchrow_arrayref() ok 16 - return value is set by arrayref not coderef, 1 column prepare() 'return value is set by arrayref not coderef, 2 columns' bind_columns() 'SCALAR(0x1b80914)' fetchrow_arrayref() ok 17 - return value is set by arrayref not coderef, 2 columns prepare() 'return value is set by arrayref not coderef, many columns' bind_columns() 'SCALAR(0x1b80914)' fetchrow_arrayref() ok 18 - return value is set by arrayref not coderef, many columns ok t\bind_param...........1..2 mock DBI interface initialized... # Failed test (t\bind_param.t at line 23) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:bind_param\(\)\s+parm 1, value \$VAR1 = 'dan';\s+attrs \$VAR1 = {\s+'horse' => 'big'\s+};\s+bind_param\(\)\s+parm 2, value \$VAR1 = 'sugar';\s+type 'small'\s+bind_param\(\)\s+parm 3, value \$VAR1 = 'molly';\s+disconnect\(\))' not ok 1 - DBI bind_param() OK # Failed test (t\bind_param.t at line 29) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:VAR1 = 0;[^V]+VAR1 = '';[^V]+VAR1 = '0';[^V]+VAR1 = undef;[^V]+VAR1 = 1054;)' not ok 2 - 0, '0', "", and undef handled # Looks like you failed 2 tests of 2. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t\connect..............1..1 mock DBI interface initialized... not ok 1 - DBI connect() OK # Failed test (t\connect.t at line 22) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:connect\(\)\s+'CONNECT TO universe AS mortal WITH root-password'\s+dbh is a DBI\s+disconnect\(\))' # Looks like you failed 1 tests of 1. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t\dbi-ok...............1..1 't' is not recognized as an internal or external command, operable program or batch file. # Failed test (t\dbi-ok.t at line 14) # '' # doesn't match '(?-xism:OK)' not ok 1 - DBI works OK when Test::MockDBI is used but not invoked # Looks like you failed 1 tests of 1. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t\diff-type............1..3 mock DBI interface initialized... connect() 'CONNECT TO AS WITH ' ok 1 - bad_method() fails on different DBI type prepare() 'SELECT *' fetchrow_arrayref() ok 2 - set_retval_scalar fails on different DBI type prepare() 'SELECT *' fetchrow_array() ok 3 - set_retval_array fails on different DBI type ok t\internal.............1..19 mock DBI interface initialized... ok 1 - use Test::MockDBI; connect() 'CONNECT TO AS WITH ' ok 2 - DBI connect() disconnect() ok 3 - DBI disconnect() prepare() 'Xy' ok 4 - DBI prepare() prepare() 'Xy' ok 5 - prepare() returns same handle as connect() prepare_cached() 'Xy' ok 6 - DBI prepare_cached() prepare_cached() 'Xy' ok 7 - prepare_cached() returns same handle as connect() commit() ok 8 - DBI commit() bind_columns() ok 9 - DBI bind_columns() bind_param() parm , value $VAR1 = undef; ok 10 - DBI bind_param() finish() ok 11 - DBI finish() execute() ok 12 - DBI execute() fetchall_arrayref() ok 13 - DBI fetchall_arrayref() fetchrow_arrayref() ok 14 - DBI fetchrow_arrayref() fetchrow_array() ok 15 - DBI fetchrow_array() fetchrow() ok 16 - DBI fetchrow() fetch() ok 17 - DBI fetch() do() ok 18 - DBI do() rows() ok 19 - DBI rows() ok t\set-value............1..25 # Failed test (t\set-value.t at line 16) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchrow_array\(\).+OK.+fetchrow_array\(\).+EMPTY ARRAY)' not ok 1 - fetchrow_array() without args # Failed test (t\set-value.t at line 22) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchrow_array\(\).+OK.+fetchrow_array\(\).+OK)' not ok 2 - fetchrow_array() with 1-element array # Failed test (t\set-value.t at line 28) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchrow_array\(\).+UNDEF.+fetchrow_array\(\).+OK)' not ok 3 - fetchrow_array() with many-element array # Failed test (t\set-value.t at line 34) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetch\(\).+UNDEF.+fetch\(\).+EMPTY ARRAY)' not ok 4 - fetch() without args # Failed test (t\set-value.t at line 40) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetch\(\).+UNDEF.+fetch\(\).+EMPTY ARRAY)' not ok 5 - fetch() with empty list # Failed test (t\set-value.t at line 46) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetch\(\).+OK.+fetch\(\).+OK)' not ok 6 - fetch() with 1-element of undef list # Failed test (t\set-value.t at line 52) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetch\(\).+UNDEF.+fetch\(\).+OK)' not ok 7 - fetch() with 1-element array # Failed test (t\set-value.t at line 58) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetch\(\).+UNDEF.+fetch\(\).+OK)' not ok 8 - fetch() with many-element array # Failed test (t\set-value.t at line 64) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchall_arrayref\(\).+UNDEF.+fetchall_arrayref\(\).+UNDEF)' not ok 9 - fetchall_arrayref() without args # Failed test (t\set-value.t at line 70) not ok 10 - fetchall_arrayref() with 1-element array # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchall_arrayref\(\).+UNDEF.+fetchall_arrayref\(\).+OK)' # Failed test (t\set-value.t at line 76) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchall_arrayref\(\).+UNDEF.+fetchall_arrayref\(\).+OK)' not ok 11 - fetchall_arrayref() with many-element array # Failed test (t\set-value.t at line 82) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchrow_arrayref\(\).+UNDEF.+fetchrow_arrayref\(\).+UNDEF)' not ok 12 - fetchrow_arrayref() without args # Failed test (t\set-value.t at line 88) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchrow_arrayref\(\).+UNDEF.+fetchrow_arrayref\(\).+OK)' not ok 13 - fetchrow_arrayref() with 1-element array # Failed test (t\set-value.t at line 94) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchrow_arrayref\(\).+UNDEF.+fetchrow_arrayref\(\).+OK)' not ok 14 - fetchrow_arrayref() with many-element array # Failed test (t\set-value.t at line 100) not ok 15 - fetchrow() without args # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchrow\(\).+UNDEF.+fetchrow\(\).+UNDEF)' # Failed test (t\set-value.t at line 106) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchrow\(\).+UNDEF.+fetchrow\(\).+OK)' not ok 16 - fetchrow() with 1-element array # Failed test (t\set-value.t at line 112) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:fetchrow\(\).+UNDEF.+fetchrow\(\).+OK)' not ok 17 - fetchrow() with many-element array # Failed test (t\set-value.t at line 118) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:UNDEF.+OK.+UNDEF.+OK.+UNDEF)' not ok 18 - fetch*() that returns arrays handles multiple SQL statements # Failed test (t\set-value.t at line 124) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?ms-xi:UNDEF.+OK.+UNDEF.+OK.+UNDEF)' not ok 19 - fetch*() that returns scalars handles multiple SQL statements 't' is not recognized as an internal or external command, operable program or batch file. # Failed test (t\set-value.t at line 130) # '' # doesn't match '(?ms-xi:fetchrow_arrayref\(\)\s+UNDEF.+fetchrow_arrayref\(\)\s+OK)' not ok 20 - coderef returns 0-element arrayref 't' is not recognized as an internal or external command, operable program or batch file. # Failed test (t\set-value.t at line 136) not ok 21 - coderef returns 1-element arrayref # '' # doesn't match '(?ms-xi:fetchrow_arrayref\(\)\s+UNDEF.+fetchrow_arrayref\(\)\s+OK)' 't' is not recognized as an internal or external command, operable program or batch file. # Failed test (t\set-value.t at line 142) # '' # doesn't match '(?ms-xi:fetchrow_arrayref\(\)\s+UNDEF.+fetchrow_arrayref\(\)\s+OK)' not ok 22 - coderef returns many-element arrayref 't' is not recognized as an internal or external command, operable program or batch file. # Failed test (t\set-value.t at line 148) # '' # doesn't match '(?ms-xi:fetchrow_array\(\)\s+UNDEF.+fetchrow_array\(\)\s+OK)' not ok 23 - coderef returns 0-element array 't' is not recognized as an internal or external command, operable program or batch file. # Failed test (t\set-value.t at line 154) # '' # doesn't match '(?ms-xi:fetchrow_array\(\)\s+UNDEF.+fetchrow_array\(\)\s+OK)' not ok 24 - coderef returns 1-element array 't' is not recognized as an internal or external command, operable program or batch file. # Failed test (t\set-value.t at line 160) # '' # doesn't match '(?ms-xi:fetchrow_array\(\)\s+UNDEF.+fetchrow_array\(\)\s+OK)' not ok 25 - coderef returns many-element array # Looks like you failed 25 tests of 25. dubious Test returned status 25 (wstat 6400, 0x1900) DIED. FAILED tests 1-25 Failed 25/25 tests, 0.00% okay t\set_dbi_test_type....1..10 ok 1 - DBI testing type default is 0 (zero) ok 2 - no argument ok 3 - undef argument ok 4 - simple non-digit-string argument ok 5 - leading non-digit-string argument ok 6 - trailing non-digit-string argument ok 7 - middle non-digit-string argument ok 8 - 0 (zero) argument ok 9 - 1 (one) argument ok 10 - other digit string argument ok t\set_rows.............1..4 # Failed test (t\set_rows.t at line 20) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?-xism:OK)' not ok 1 - no \#rows argument # Failed test (t\set_rows.t at line 26) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?-xism:OK)' not ok 2 - undef argument # Failed test (t\set_rows.t at line 32) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?-xism:OK)' not ok 3 - numeric argument # Failed test (t\set_rows.t at line 38) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?-xism:OK)' not ok 4 - different numeric argument # Looks like you failed 4 tests of 4. dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 1-4 Failed 4/4 tests, 0.00% okay t\test-type............1..3 # Failed test (t\test-type.t at line 17) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?-xism:OK)' not ok 1 - default test type # Failed test (t\test-type.t at line 23) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?-xism:OK)' not ok 2 - test type 1 # Failed test (t\test-type.t at line 29) # ''t' is not recognized as an internal or external command, # operable program or batch file. # ' # doesn't match '(?-xism:OK)' not ok 3 - another test type # Looks like you failed 3 tests of 3. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t\wildcard-type........1..2 mock DBI interface initialized... connect() 'CONNECT TO AS WITH ' prepare() 'SELECT ALL' fetchrow_arrayref() ok 1 - set_retval_scalar wildcard DBI type fetchrow_array() ok 2 - set_retval_array wildcard DBI type ok Failed 7/13 test scripts, 46.15% okay. 41/110 subtests failed, 62.73% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\bad_param.t 5 1280 5 5 100.00% 1-5 t\bind_param.t 2 512 2 2 100.00% 1-2 t\connect.t 1 256 1 1 100.00% 1 t\dbi-ok.t 1 256 1 1 100.00% 1 t\set-value.t 25 6400 25 25 100.00% 1-25 t\set_rows.t 4 1024 4 4 100.00% 1-4 t\test-type.t 3 768 3 3 100.00% 1-3 NMAKE : fatal error U1077: 'C:\cpanrun-5.8\build\5-8-0\bin\perl.exe' : return code '0xff' Stop.