Front page | perl.cpan.testers |
Postings from July 2008
FAIL Data-FormValidator-4.61 MSWin32-x86-multi-thread 5.1
From:
sanko
Date:
July 8, 2008 10:55
Subject:
FAIL Data-FormValidator-4.61 MSWin32-x86-multi-thread 5.1
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
--
Dear Mark Stosberg,
This is a computer-generated report for Data-FormValidator-4.61
on perl 5.11.0 patch 34101, created by CPAN-Reporter-1.1601.
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://cpantest.grango.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from 'C:\perl\bin\perl.exe ./Build test':
t\00_base................................
1..5
ok 1 - use Data::FormValidator;
ok 2 - second argument must be a hash ref or die
ok 3 - bad profile file names should cause death
ok 4 - profile files should return a hash ref
ok 5 - loading a profile from a file works
ok
t\02_code_ref............................
1..8
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok
t\03_dependency..........................
1..23
ok 1 - no eval problems
ok 2 - missing cc_num
ok 3 - missing cc_exp
ok 4 - missing cc_name
ok 5 - no eval problems
ok 6 - returned object isa Data::FormValidator::Results
ok 7 - has_missing returned true
ok 8 - missing('cc_num') returned true
ok 9 - missing('cc_exp') returned true
ok 10 - missing('cc_name') returned true
ok 11 - no eval problems
ok 12 - missing cc_num
ok 13 - not missing cc_exp
ok 14 - not missing cc_name
ok 15 - no eval problems
ok 16 - returned object isa Data::FormValidator::Results
ok 17 - has_missing returned true
ok 18 - missing('cc_num') returned true
ok 19 - missing('cc_exp') returned false
ok 20 - missing('cc_name') returned false
ok 21 - using CGI.pm object for input
ok 22 - missing('cc_exp') returned false
ok 23 - missing('cc_name') returned false
ok
t\04_arrayify_undef......................
1..4
ok 1 - checks for correct behavior when 'required'
# is not specified; fails if _arrayify() does not return an empty list
ok 2 - checks for correct behavior when 'required'
# is not specified; fails if _arrayify() does not return an empty list
ok 3 - arrayref with first element undef... in scalar context
ok 4 - arrayref with first element undef..in list context
ok
t\05_valid_ip_address....................
1..2
ok 1
ok 2
ok
t\06_regexp_map..........................
1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
t\09_require_some........................
1..4
ok 1
ok 2
ok 3
ok 4
ok
t\11_procedural_match....................
1..26
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok
t\13_validator_packages..................
1..8
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok
t\15_literal_param_constraints...........
1..1
ok 1
ok
t\16_cgi_object..........................
1..2
ok 1
ok 2
ok
t\17_multi_valued_keys...................
1..8
ok 1 - inconditional filters still work with single values
ok 2 - inconditional filters work with multi values
ok 3 - field filters work with multiple values
ok 4 - Test the filters applied to multiple values by RE work
ok 5 - If any of the values fail the constraint, the field becomes invalid
ok 6 - multi-valued field containing only undef should be missing
ok 7 - multiple valued fields containing only undefined values should not be valid
ok 8 - a single valued array should still trigger the dependency check
ok
t\18_constraint_refs.....................
1..4
ok 1
ok 2 - survived eval
ok 3
ok 4
ok
t\19_refs_as_values......................
1..3
ok 1
ok 2
ok 3
ok
t\20_careful_exception_handling..........
1..1
ok 1
ok
t\21_multiple_fields.....................
1..3
ok 1
ok 2
ok 3
ok
t\25_results.............................
1..7
ok 1 - using check() as class method
ok 2 - valid() returns single value in scalar context
ok 3 - valid() returns multi-valued results
ok 4 - valid() returns single value in array context
ok 5 - usg CODE references as default values
ok 6 - defaults_regexp works (case 1)
ok 7 - defaults_regexp works (case 1)
ok
t\26_qr..................................
ok 1 - using qr for regexp quoting
ok 2 - using alternation with qr works
ok 3 - expected to pass constraint
ok 4 - expected to fail constraint
ok 5 - field_filter_regexp_map
ok 6 - named qr constraints
ok 7 - untainting with qr
1..7
ok
t\27_qualify_ref_happy_death.............
1..5
ok 1 - happy filters typo failure
ok 2 - happy field_filters typo failure
ok 3 - happy field_filter_regexp_map typo failure
ok 4 - happy constraints typo failure
ok 5 - happy untainted constraints typo failure
ok
t\28_defaults_for_new....................
1..3
ok 1 - defaults are checked for syntax
ok 2 - testing defaults appearing in profile
ok 3 - testing overriding defaults
ok
t\30_filter_definedness..................
ok 1 - basic validation generates no warnings with -w
ok 2 - uninitialized value in filter_digit filter generates no warning
ok 3 - uninitialized value in filter_decimal filter generates no warning
ok 4 - uninitialized value in filter_dollars filter generates no warning
ok 5 - uninitialized value in filter_neg_decimal filter generates no warning
ok 6 - uninitialized value in filter_quotemeta filter generates no warning
ok 7 - uninitialized value in filter_alphanum filter generates no warning
ok 8 - uninitialized value in filter_phone filter generates no warning
ok 9 - uninitialized value in filter_sql_wildcard filter generates no warning
ok 10 - uninitialized value in filter_integer filter generates no warning
ok 11 - uninitialized value in filter_uc filter generates no warning
ok 12 - uninitialized value in filter_trim filter generates no warning
ok 13 - uninitialized value in filter_pos_integer filter generates no warning
ok 14 - uninitialized value in filter_neg_integer filter generates no warning
ok 15 - uninitialized value in filter_strip filter generates no warning
ok 16 - uninitialized value in filter_lc filter generates no warning
ok 17 - uninitialized value in filter_ucfirst filter generates no warning
ok 18 - uninitialized value in filter_pos_decimal filter generates no warning
1..18
ok
t\FV_length..............................
ok 1 - use Data::FormValidator;
ok 2
ok 3 - multiline FV_max_length in bounds
ok 4 - multiline FV_max_length too long
ok 5 - multiline FV_min_length in bounds
ok 6 - multiline FV_min_length too short
ok 7 - multiline FV_length_between in bounds
ok 8 - multiline FV_length_between too short
ok 9 - multiline FV_length_between too long
ok 10 - long FV_max_length in bounds
ok 11 - long FV_max_length too long
ok 12 - long FV_min_length in bounds
ok 13 - long FV_min_length too short
ok 14 - long FV_length_between in bounds
ok 15 - long FV_length_between too short
ok 16 - long FV_length_between too long
1..16
ok
t\any_errors.............................
ok 1 - [standard any_errors] good input passed
ok 2 - [standard any_errors] no error messages
ok 3 - [standard any_errors] bad input caught
ok 4 - [standard any_errors] error messages reported
ok 5 - [custom any_errors] good input passed
ok 6 - [custom any_errors] no error messages
ok 7 - [custom any_errors] 'some_errors' not reported
ok 8 - [custom any_errors] bad input caught
ok 9 - [custom any_errors] error messages reported
ok 10 - [custom any_errors] 'some_errors' reported
1..10
ok
t\check_profile_syntax...................
ok 1 - checking syntax of unknown msgs fields works
ok 2 - checking syntax of constraint hashrefs works
ok 3 - checking syntax of constraint_regexp_map hashrefs works
1..3
ok
t\constraint_method......................
ok 1 - get_current_constraint_name works
ok 2 - using qr with constraint_method fails as expected
ok 3 - using qr with constraint_method succeeds as expected
ok 4 - using qr with constraint_method_regexp_map fails as expected
ok 5 - using qr with constraint_method_regexp_map succeeds as expected
1..5
ok
t\constraint_method_string...............
1..4
ok 1 - use Data::FormValidator;
ok 2 - error thrown when given a string to constraint_method
ok 3 - error thrown when given a string to constraint_method...even as part of a list.
ok 4 - error thrown when given a string to constraint_method...even as hash declaration.
ok
t\constraint_regexp_map_profile_reuse....
ok 1 - constraints aren't duped when profile with constraint_regexp_map is reused
ok 2 - constraints aren't duped when profile with constraint_regexp_map is reused
ok 3 - field_filters aren't duped when profile with field_filter_regexp_map is reused
ok 4 - field_filters aren't duped when profile with field_filter_regexp_map is reused
1..4
ok
t\constraints_builtin....................
ok 1 - survived validate
ok 2 - using 0 in a constraint regexp works
1..2
ok
t\constraints_builtin_closure............
ok 1 - survived eval
ok 2 - using 0 in a constraint regexp works
ok 3 - set_current_contraint_name succeeds
ok 4 - name_this succeeds
ok 5 - set_current_contraint_name doesn't work if you typo it
1..5
ok
t\constraints_factory....................
1..4
ok 1 - use Data::FormValidator;
ok 2 - use Data::FormValidator::ConstraintsFactory;
ok 3 - positive test for make_length_constraint()
ok 4 - negative test for make_length_constraint()
ok
t\constraints_invalid_once_only..........
1..1
ok 1 - constraint marked as invalid only once
ok
t\constraints_regexp_map_interaction.....
ok 1 - Survived validate
ok 2 - Correctly catches the bad field
ok 3 - The invalid field is listed correctly as 'email_field'
ok 4 - Survived validate
ok 5 - Still correctly catches the bad field
ok 6 - The invalid field is still listed correctly as 'email_field'
ok 7 - But perl agrees that the email address does match the regex
1..7
ok
t\constraints_reuse......................
1..7
ok 1
ok 2
ok 3
ok 4
ok 5 - first constraint applied intentionally fails
ok 6 - second constraint still has access to value of field used in first failed constraint.
ok 7 - no warnings emitted
ok
t\credit_card............................
1..25
ok 1 - Invalid: Discover/6000111122223333 (old)
ok 2 - Valid: Discover/6011111111111117 (old)
ok 3 - Valid: Discover/6011000990139424 (old)
ok 4 - Invalid: Amex/371500001111222 (old)
ok 5 - Valid: Amex/378282246310005 (old)
ok 6 - Valid: Amex/371449635398431 (old)
ok 7 - Invalid: Visa/4000111122223333 (old)
ok 8 - Valid: Visa/4111111111111111 (old)
ok 9 - Valid: Visa/4012888888881881 (old)
ok 10 - Invalid: Mastercard/5424111122223333 (old)
ok 11 - Valid: Mastercard/5105105105105100 (old)
ok 12 - Valid: Mastercard/5555555555554444 (old)
ok 13 - cc_number subroutine runs without error
ok 14 - Invalid: Discover/6000111122223333 (new)
ok 15 - Valid: Discover/6011111111111117 (new)
ok 16 - Valid: Discover/6011000990139424 (new)
ok 17 - Invalid: Amex/371500001111222 (new)
ok 18 - Valid: Amex/378282246310005 (new)
ok 19 - Valid: Amex/371449635398431 (new)
ok 20 - Invalid: Visa/4000111122223333 (new)
ok 21 - Valid: Visa/4111111111111111 (new)
ok 22 - Valid: Visa/4012888888881881 (new)
ok 23 - Invalid: Mastercard/5424111122223333 (new)
ok 24 - Valid: Mastercard/5105105105105100 (new)
ok 25 - Valid: Mastercard/5555555555554444 (new)
ok
t\dates..................................
ok 1 - use Data::FormValidator::Constraints::Dates;
ok 2 - returning untainted date
ok 3 - basic date prepare and parse test
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9 - returning untainted date
ok 10 - basic date prepare and parse test
ok 11 - month
ok 12 - day
ok 13 - hour
ok 14 - min
ok 15 - sec
ok 16 - eval
ok 17 - expecting date_and_time success
ok 18 - expecting date_and_time failure
ok 19 - returning date
ok 20 - basic date prepare and parse test
ok 21
ok 22
1..22
ok
t\dates_closure..........................
ok 1 - use Data::FormValidator::Constraints::Dates;
ok 2 - returning untainted date
ok 3 - basic date prepare and parse test
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9 - returning untainted date
ok 10 - basic date prepare and parse test
ok 11 - month
ok 12 - day
ok 13 - hour
ok 14 - min
ok 15 - sec
ok 16 - eval
ok 17 - expecting date_and_time success
ok 18 - expecting date_and_time failure
ok 19 - 02/29/2008 should pass MM/DD/YY(?:YY)?
not ok 20 - 02/29/1976 should pass MM/DD/YY(?:YY)? # TODO leap year bug?
# Failed (TODO) test '02/29/1976 should pass MM/DD/YY(?:YY)?'
# at t\dates_closure.t line 84.
ok 21 - 02/29/2008 should fail MM/DD/YYY?Y?
1..21
ok
t\dependency_coderef.....................
1..18
ok 1 - checking that dependency coderef is called
ok 2 - code was called
ok 3 - code received 2 args
ok 4 - received correct value
ok 5 - received dfv object
ok 6 - dfv object isa Data::FormValidator::Results
ok 7 - checking a value that has a depenency
ok 8 - returned object isa Data::FormValidator::Results
ok 9 - has_missing returned true
ok 10 - missing('cc_cvv') returned true
ok 11 - checking a value that has no dependencies
ok 12 - returned object isa Data::FormValidator::Results
ok 13 - has_missing returned false
ok 14 - missing('cc_cvv') returned false
ok 15 - checking multiple values
ok 16 - returned object isa Data::FormValidator::Results
ok 17 - has_missing returned true
ok 18 - missing('cc_cvv') returned true
ok
t\dependency_groups......................
ok 1 - no eval problems
ok 2 - [pass1] valid
ok 3 - missing [pass2]
ok 4 - no eval problems
ok 5 - returned object isa Data::FormValidator::Results
ok 6 - has_missing returned true
ok 7 - missing(pass2) returned true
ok 8 - missing(pass1) returned false
ok 9 - valid(pass1) returned true
ok 10 - valid(pass2) returned true
ok 11 - no eval problems
ok 12 - returned object isa Data::FormValidator::Results
ok 13 - has_missing returned true
ok 14 - missing(pass2) returned true
ok 15 - missing(pass1) returned false
ok 16 - valid(pass1) returned true
ok 17 - valid(pass2) returned true
ok 18 - no eval problems
ok 19 - [pass2] valid
ok 20 - missing [pass1]
ok 21 - no eval problems
ok 22 - returned object isa Data::FormValidator::Results
ok 23 - has_missing returned true
ok 24 - missing(pass1) returned true
ok 25 - missing(pass2) returned false
ok 26 - valid(pass2) returned true
ok 27 - valid(pass1) returned true
ok 28 - no eval problems
ok 29 - returned object isa Data::FormValidator::Results
ok 30 - has_missing returned true
ok 31 - missing(pass1) returned true
ok 32 - missing(pass2) returned false
ok 33 - valid(pass2) returned true
ok 34 - valid(pass1) returned true
1..34
ok
t\filter_constraints.....................
1..4
ok 1 - all fields are valid
ok 2 - survived eval
ok 3 - when passed through param, local filters are applied.
ok 4 - when passed through param, global filters are applied.
ok
t\filters_builtin........................
ok 1 - FV_split with two values
ok 2 - FV_split with one value
ok 3 - FV_split with no values
ok 4 - filter_dollars works as expected
not ok 5 - filter_dollars removes trailing numbers # TODO all these broken filters need to be dealt with.
# Failed (TODO) test 'filter_dollars removes trailing numbers'
# at t\filters_builtin.t line 19.
# got: '0.111'
# expected: '0.11'
not ok 6 - filter_neg_integer should leave string without a negative integer alone. # TODO all these broken filters need to be dealt with.
# Failed (TODO) test 'filter_neg_integer should leave string without a negative integer alone.'
# at t\filters_builtin.t line 23.
# got: '9-'
# expected: 'a9-'
not ok 7 - filter_pos_integer should care which side a + is on. # TODO all these broken filters need to be dealt with.
# Failed (TODO) test 'filter_pos_integer should care which side a + is on.'
# at t\filters_builtin.t line 27.
# got: '9+'
# expected: '9'
not ok 8 - filter_integer should care which side a + is on. # TODO all these broken filters need to be dealt with.
# Failed (TODO) test 'filter_integer should care which side a + is on.'
# at t\filters_builtin.t line 31.
# got: '9+'
# expected: '9'
not ok 9 - filter_decimal should handle commas correctly # TODO all these broken filters need to be dealt with.
# Failed (TODO) test 'filter_decimal should handle commas correctly'
# at t\filters_builtin.t line 35.
# got: '1.000.23'
# expected: '1000.23'
not ok 10 - filter_pos_decimal should handle commas correctly # TODO all these broken filters need to be dealt with.
# Failed (TODO) test 'filter_pos_decimal should handle commas correctly'
# at t\filters_builtin.t line 39.
# got: '1.000.23'
# expected: '1000.23'
not ok 11 - filter_neg_decimal should handle commas correctly # TODO all these broken filters need to be dealt with.
# Failed (TODO) test 'filter_neg_decimal should handle commas correctly'
# at t\filters_builtin.t line 43.
# got: '-1.000.23'
# expected: '-1000.23'
1..11
ok
t\filters_shouldnt_modify................
ok 1 - after copying structure, values should have different memory addresses
ok 2 - filters shouldn't modify data in arrayrefs
1..2
ok
t\get_filtered_data......................
1..4
ok 1 - get_filtered_data works for empty hashref
ok 2 - get_filtered_data returns correct filtered data
ok 3 - password valid
ok 4 - confirm valid
ok
t\get_input_data.........................
ok 1 - get_input_data works for empty hashref
ok 2 - get_input_data works for CGI object
ok 3 - get_input_data( as_hashref => 1 ) works for CGI object
1..3
ok
t\missing_optional.......................
ok 1 - survived eval
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7 - optional fields have to at least exist to be valid
ok 8 - optional_invalid is invalid
ok 9 - optional_invalid is not valid
1..9
ok
t\msgs...................................
ok 1
ok 2 - existence of msgs method
ok 3 - invalid fields returned as hash in simple case
ok 4 - default invalid message
ok 5 - default missing message
ok 6 - default formatting
ok 7 - survived eval
ok 8 - multiple constraints constraint definition
ok 9 - survived eval
ok 10 - using default prefix
ok 11 - size of msgs hash
ok 12 - any_errors
ok 13 - passing controls to method
ok 14 - calling msgs method without hash definition
ok 15 - Spelling "separator" correctly should work OK.
ok 16 - A callback can be used for msgs
1..16
ok
t\multiple_constraints...................
1..8
ok 1 - survived eval
ok 2
ok 3
ok 4
ok 5
ok 6 - expect 'multiple' not to appear in valid
ok 7 - list of failed constraints for 'multiple'
ok 8 - single is valid
ok
t\params_not_mentioned...................
1..5
ok 1 - no_invalids
ok 2 - foo valid
ok 3 - survived eval
ok 4 - no_invalids
ok 5 - foo valid
ok
t\pod....................................
1..14
ok 1 - POD test for blib\lib/Data/FormValidator.pm
ok 2 - POD test for blib\lib/Data/FormValidator/Constraints.pm
ok 3 - POD test for blib\lib/Data/FormValidator/ConstraintsFactory.pm
ok 4 - POD test for blib\lib/Data/FormValidator/Filters.pm
ok 5 - POD test for blib\lib/Data/FormValidator/Results.pm
ok 6 - POD test for blib\lib/Data/FormValidator/Constraints/Dates.pm
ok 7 - POD test for blib\lib/Data/FormValidator/Constraints/Upload.pm
ok 8 - POD test for lib/Data/FormValidator.pm
ok 9 - POD test for lib/Data/FormValidator/Constraints.pm
ok 10 - POD test for lib/Data/FormValidator/ConstraintsFactory.pm
ok 11 - POD test for lib/Data/FormValidator/Filters.pm
ok 12 - POD test for lib/Data/FormValidator/Results.pm
ok 13 - POD test for lib/Data/FormValidator/Constraints/Dates.pm
ok 14 - POD test for lib/Data/FormValidator/Constraints/Upload.pm
ok
t\procedural_valid.......................
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28 - semi-colons in e-mail aren't valid
ok 29 - spaces in e-mail aren't valid
ok 30 - including a null in an e-mail is not valid.
ok 31 - 'mark' is not a valid e-mail
ok 32 - 'Mark Stosberg <mark@summersault.com>' is not a valid e-mail
ok 33 - 'mark@summersault.com' is a valid e-mail
ok 34 - 'Mark.Stosberg@summersault.com' is a valid e-mail
ok 35 - 'Mark_Stosberg@summersault.com' is a valid e-mail
ok 36 - 'Mark_O'Doul@summersault.com' is a valid e-mail
1..36
ok
t\profile_checking.......................
1..1
ok 1
ok
t\regexp_common..........................
1..10
ok 1 - runtime errors
ok 2 - good ip
ok 3 - bad ip
ok 4 - runtime errors
ok 5 - good ip with tainting
ok 6 - bad ip with tainting
ok 7 - runtime errors
ok 8 - expecting success with params
ok 9 - expecting failure with params
ok 10 - testing that the RE must match from end-to-end
ok
t\regexp_common_closure..................
1..13
ok 1 - use Data::FormValidator::Constraints;
ok 2 - survived eval
ok 3 - good ip
ok 4 - bad ip
ok 5 - zero is valid int
ok 6 - survived eval
ok 7 - good ip with tainting
ok 8 - bad ip with tainting
ok 9 - zero is valid int with untainting
ok 10 - runtime errors
ok 11 - expecting success with params
ok 12 - expecting failure with params
ok 13 - testing that the RE must match from end-to-end
ok
t\results_success........................
1..4
ok 1 - success with unknown
ok 2 - returns true in bool context on success
ok 3 - not success()
ok 4 - returns false in bool context on not success
ok
t\simple.................................
1..3
ok 1 - survived eval
ok 2 - phone is valid
ok 3
ok
t\tt_and_overload........................
1..0 # Skip Template Toolkit required
skipped: Template Toolkit required
t\undefined_arrayref.....................
1..1
ok 1 - no invalid fields are returned as an arrayref
ok
t\unknown................................
1..4
ok 1 - using check() as class method
ok 2 - unknown() returns single value in scalar context
ok 3 - unknown() returns multi-valued results
ok 4 - unknown() returns single value in array context
ok
t\untaint................................
1..55
Can't locate Perl6/Junction.pm in @INC (@INC contains: ./lib C \.cpan\build\Data-FormValidator-4.61-wNihNI\blib\lib;C \.cpan\build\Data-FormValidator-4.61-wNihNI\blib\arch;C \.cpan\build\Data-FormValidator-4.61-wNihNI\_build\lib;\.cpan\build\Date-Calc-5.4-2jF55J/blib/arch;\.cpan\build\Date-Calc-5.4-2jF55J/blib/lib;\.cpan\build\MIME-Types-1.24-eiIeRJ/blib/arch;\.cpan\build\MIME-Types-1.24-eiIeRJ/blib/lib;\.cpan\build\File-MMagic-1.27-UtxDp7/blib/arch;\.cpan\build\File-MMagic-1.27-UtxDp7/blib/lib;\.cpan\build\Regexp-Common-2.122-RQJgEk/blib/arch;\.cpan\build\Regexp-Common-2.122-RQJgEk/blib/lib;\.cpan\build\Perl6-Junction-1.40000-8oPhnY/blib/arch;\.cpan\build\Perl6-Junction-1.40000-8oPhnY/blib/lib;\.cpan\build\Image-Size-3.1.1-trkgSX/blib/arch;\.cpan\build\Image-Size-3.1.1-trkgSX/blib/lib;\.cpan\build\Email-Valid-0.179-TnZaEb/blib/arch;\.cpan\build\Email-Valid-0.179-TnZaEb/blib/lib;\.cpan\build\TimeDate-1.16-ZqMf5R/blib/arch;\.cpan\build\TimeDate-1.16-ZqMf5R/blib/lib;\.cpan\build\MailTools-2.03-WTsHPs/blib/arch;\.cpan\build\MailTools-2.03-WTsHPs/blib/lib C:/perl/lib C:/perl/site/lib) at lib/Data/FormValidator.pm line 28.
BEGIN failed--compilation aborted at lib/Data/FormValidator.pm line 28.
Compilation failed in require at ./t/untaint.pl line 6.
BEGIN failed--compilation aborted at ./t/untaint.pl line 6.
Failed 55/55 subtests
t\upload.................................
ok 1 - use CGI;
ok 2 - use Data::FormValidator::Constraints::Upload;
# Skipping CGI::Simple Tests
# testing with CGI.pm version: 3.38
# Running tests with CGI
ok 3 - survived eval
ok 4 - expect format failure
ok 5 - expect non-existent failure
ok 6 - Make sure 100x100 passes because it is the right type and size
ok 7 - meta() returns hash ref
ok 8 - setting extension meta data
ok 9 - setting mime_type meta data
ok 10 - 300x300 should fail because it exceeds max_bytes
ok 11 - CGI: setting bytes meta data
ok 12
ok 13 - expecting success with max_dimensions
ok 14 - expecting failure with max_dimensions
ok 15 - setting width as meta data
ok 16 - setting height as meta data
ok 17 - expecting success with max_dimensions using constraint_regexp_map
ok 18 - expecting failure with max_dimensions using constraint_regexp_map
ok 19
ok 20 - expecting success with min_dimensions
ok 21 - expecting failure with min_dimensions
ok 22
ok 23 - expecting success with mime_type
ok 24 - expecting failure with mime_type
ok 25 - survived eval
ok 26 - expecting failure with size range
ok 27 - expecting success with size range
1..27
ok
t\upload_closure.........................
ok 1 - use CGI;
ok 2 - use Data::FormValidator::Constraints::Upload;
# testing with CGI.pm version: 3.38
ok 3 - survived eval
ok 4 - expect format failure
ok 5 - expect non-existent failure
ok 6
ok 7 - meta() returns hash ref
ok 8 - setting extension meta data
ok 9 - setting mime_type meta data
ok 10 - max_bytes
ok 11 - setting bytes meta data
ok 12 - survived eval
ok 13 - expecting success with max_dimensions
ok 14 - expecting failure with max_dimensions
ok 15 - setting width as meta data
ok 16 - setting height as meta data
ok 17 - expecting success with max_dimensions using constraint_regexp_map
ok 18 - expecting failure with max_dimensions using constraint_regexp_map
1..18
ok
t\upload_mime_types......................
1..5
ok 1 - use Data::FormValidator::Constraints::Upload;
ok 2 - 'foo' not considered an allowed mime type
ok 3 - 'image/jpeg' is considered an allowed mime type
ok 4 - 'image/JPEG' is considered an allowed mime type
ok 5 - 'image/pjpeg' is considered an allowed mime type
ok
Test Summary Report
-------------------
t\untaint (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: Bad plan. You planned 55 tests but ran 0.
Files=61, Tests=533, 29 wallclock secs ( 1.03 usr + 0.28 sys = 1.31 CPU)
Result: FAIL
Failed 1/61 test programs. 0/533 subtests failed.
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
--------------- ----- --------
Date::Calc 5 5.4
Email::Valid 0 0.179
File::MMagic 1.17 1.27
Image::Size 0 3.100001
MIME::Types 1.005 1.24
overload 0 1.06
perl 5.008 5.011000
Perl6::Junction 1.1 1.40000
Regexp::Common 0 2.122
Scalar::Util 0 1.19
Test::More 0 0.80
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
COMSPEC = C:\WINDOWS\system32\cmd.exe
NUMBER_OF_PROCESSORS = 1
PATH = C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Graphviz2.18\Bin;C:\Program Files\Bakefile;C:\Program Files\TortoiseSVN\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\MinGW\bin\;C:\perl\bin\;C:\bin\
PERL5LIB = \.cpan\build\Date-Calc-5.4-2jF55J/blib/arch;\.cpan\build\Date-Calc-5.4-2jF55J/blib/lib;\.cpan\build\MIME-Types-1.24-eiIeRJ/blib/arch;\.cpan\build\MIME-Types-1.24-eiIeRJ/blib/lib;\.cpan\build\File-MMagic-1.27-UtxDp7/blib/arch;\.cpan\build\File-MMagic-1.27-UtxDp7/blib/lib;\.cpan\build\Regexp-Common-2.122-RQJgEk/blib/arch;\.cpan\build\Regexp-Common-2.122-RQJgEk/blib/lib;\.cpan\build\Perl6-Junction-1.40000-8oPhnY/blib/arch;\.cpan\build\Perl6-Junction-1.40000-8oPhnY/blib/lib;\.cpan\build\Image-Size-3.1.1-trkgSX/blib/arch;\.cpan\build\Image-Size-3.1.1-trkgSX/blib/lib;\.cpan\build\Email-Valid-0.179-TnZaEb/blib/arch;\.cpan\build\Email-Valid-0.179-TnZaEb/blib/lib;\.cpan\build\TimeDate-1.16-ZqMf5R/blib/arch;\.cpan\build\TimeDate-1.16-ZqMf5R/blib/lib;\.cpan\build\MailTools-2.03-WTsHPs/blib/arch;\.cpan\build\MailTools-2.03-WTsHPs/blib/lib
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 616
PERL5_CPAN_IS_RUNNING = 616
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1572,616
PERL_CR_SMOKER_CURRENT = Gantry-3.53
PERL_MM_USE_DEFAULT = 1
PROCESSOR_IDENTIFIER = x86 Family 15 Model 3 Stepping 3, GenuineIntel
TEMP = C:\DOCUME~1\SANKOR~1\LOCALS~1\Temp
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = C:\perl\bin\perl.exe
$UID/$EUID = 0 / 0
$GID = 0
$EGID = 0
Win32::GetOSName = WinXP/.Net
Win32::GetOSVersion = Service Pack 3, v.3311, 5, 1, 2600, 2, 3, 0, 0, 1
Win32::FsType = NTFS
Win32::IsAdminUser = 1
Perl module toolchain versions installed:
Module Have
------------------- ---------
CPAN 1.92_63
Cwd 3.2701
ExtUtils::CBuilder 0.23
ExtUtils::Command 1.14
ExtUtils::Install 1.50_01
ExtUtils::MakeMaker 6.44
ExtUtils::Manifest 1.54
ExtUtils::ParseXS 2.19_01
File::Spec 3.2701
Module::Build 0.2808_02
Module::Signature n/a
Test::Harness 3.12
Test::More 0.80
YAML 0.66
YAML::Syck n/a
version 0.7501
--
Summary of my perl5 (revision 5 version 11 subversion 0 patch 34101) configuration:
Platform:
osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='3.4.5', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s -L"c:\perl\lib\CORE" -L"C:\MinGW\lib"'
libpth=C:\MinGW\lib
libs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
perllibs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl511.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"c:\perl\lib\CORE" -L"C:\MinGW\lib"'
-
FAIL Data-FormValidator-4.61 MSWin32-x86-multi-thread 5.1
by sanko