# Testing Net::validMX 2.2.0, Perl 5.026002, /usr/bin/perl t/00-load.t ... 1..1 ok 1 - use Net::validMX; ok # Failed test 'Test for incorrect DNS' # at t/01-fail.t line 25. # got: '1' # expected: '0' # Failed test 'Test for incorrect DNS' # at t/01-fail.t line 27. # got: '1' # expected: '0' # Failed test 'Test for non-resolvable MX records' # at t/01-fail.t line 33. # got: '1' # expected: '0' # Failed test 'Resolves to an implicit cname that is chained to a cname - fails but not certain I should allow this or not' # at t/01-fail.t line 35. # got: '1' # expected: '0' # Looks like you failed 4 tests of 11. t/01-fail.t ... 1..11 postmaster@[127.0.0.1] Valid MX? False - Use of IP Address [127.0.0.1] instead of a hostname is not allowed ok 1 - Test for Explicit IP instead of domain name test@test4.peregrinehw.com Valid MX? False - MX Record: . does not resolve ok 2 - Test for a host that is configured with an MX of . & priority 10 which will be considered a pass due eNom.com (name-services.com) false positives - Should Fail if it's the only MX nofrom@www Valid MX? False - No MX or A Records Exist for www ok 3 - Test for non-FQDN test@test3.peregrinehw.com Valid MX? False - MX Record: . does not resolve ok 4 - Test for a host that is configured with an MX of . & priority 0 which is an 'I don't do email' Notification - Should Fail zqy152214@liyuanculture.com Valid MX? True not ok 5 - Test for incorrect DNS formation2005@carmail.com Valid MX? True not ok 6 - Test for incorrect DNS test@geg.com Valid MX? False - No MX or A Records Exist for geg.com ok 7 - Test for privatized IP range use only test@test5.peregrinehw.com Valid MX? False - Invalid use of private IP (e.g. 192.168.1.1) range for MX - All MX Records Failed ok 8 - Test for privatized IP range use only test@tennesseen.com Valid MX? True not ok 9 - Test for non-resolvable MX records zacaris@muska.com Valid MX? True not ok 10 - Resolves to an implicit cname that is chained to a cname - fails but not certain I should allow this or not test@test2.peregrinehw.com Valid MX? False - Invalid use of private IP (e.g. 192.168.0.2) range for MX ok 11 - Test for use of crazy things like 192.168.0.1. as the host name in DNS - Should FAIL EVEN if $allow_ip_address_as_mx = 1 because they are privatized not because of the name Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/11 subtests # Failed test 'Test for something that was throwing an error in v1 where we need to discard the first answer on a CNAME domain - Should Pass' # at t/02-pass.t line 23. # got: '0' # expected: '1' # Failed test 'Test for something that was throwing an error in v1 where we need to discard the first answer on a CNAME domain - Should Pass' # at t/02-pass.t line 25. # got: '0' # expected: '1' # Failed test 'Test for unusual top level domain setups like .va for the Vatican' # at t/02-pass.t line 29. # got: '0' # expected: '1' # Failed test 'Test for a host that is configured with an MX of . but eventually has a good MX recorded (due to eNom.com (name-services.com) false positives - Should Pass' # at t/02-pass.t line 31. # got: '0' # expected: '1' # Looks like you failed 4 tests of 8. t/02-pass.t ... 1..8 kevin.mcgrail@thoughtworthy.com Valid MX? True ok 1 - Test for correct DNS - Should Pass test@tri-llama.com Valid MX? True ok 2 - Test non-rfc compliant DNS using cname for MX - Should Pass test@mail.mcgrail.com Valid MX? True ok 3 - Test for implicit MX by A record - Should Pass AirchieChalmers@londo.cysticercus.com Valid MX? False - No MX or A Records Exist for londo.cysticercus.com not ok 4 - Test for something that was throwing an error in v1 where we need to discard the first answer on a CNAME domain - Should Pass OlgaCraft@barbequesauceofthemonthclub.com Valid MX? False - No MX or A Records Exist for barbequesauceofthemonthclub.com not ok 5 - Test for something that was throwing an error in v1 where we need to discard the first answer on a CNAME domain - Should Pass test@test.peregrinehw.com Valid MX? True ok 6 - Test for the use of crazy things like 12.34.56.78. as the host name in DNS - Should Pass if $allow_ip_address_as_mx = 1 god@va Valid MX? False - No MX or A Records Exist for va not ok 7 - Test for unusual top level domain setups like .va for the Vatican test@test6.peregrinehw.com Valid MX? False - MX Record: . does not resolve not ok 8 - Test for a host that is configured with an MX of . but eventually has a good MX recorded (due to eNom.com (name-services.com) false positives - Should Pass Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/8 subtests t/03-valid.t .. 1..3 ok 1 - Test for valid email format ok 2 - Test for invalid email format without sanitize ok 3 - Test for invalid email with spaces ok t/04-full.t ... 1..3 kevin.mcgrail@thoughtworthy.com Valid MX? True - Passed ok 1 - Test for valid email format kevin.mcgrail@aol Valid MX? True - Passed ok 2 - Test for valid email format with sanitize kevin.mcgrail @ ThoughtWorthy .com Valid MX? True - Passed ok 3 - Test for valid email with spaces ok Test Summary Report ------------------- t/01-fail.t (Wstat: 1024 Tests: 11 Failed: 4) Failed tests: 5-6, 9-10 Non-zero exit status: 4 t/02-pass.t (Wstat: 1024 Tests: 8 Failed: 4) Failed tests: 4-5, 7-8 Non-zero exit status: 4 Files=5, Tests=26, 9 wallclock secs ( 0.05 usr 0.00 sys + 0.53 cusr 0.10 csys = 0.68 CPU) Result: FAIL Failed 2/5 test programs. 8/26 subtests failed.