Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-Authentication CPAN distribution.

Report information
The Basics
Id: 53944
Status: new
Priority: 0/
Queue: CGI-Application-Plugin-Authentication

People
Owner: Nobody in particular
Requestors: SILASMONK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.16
Fixed in: (no value)



Subject: t\50_driver_htpasswd.t test does not work on windows
Ticket split off #35030 C:\TMP\C>perl -Ilib t/50_driver_htpasswd.t 1..30 not ok 1 - successful login # Failed test 'successful login' # at t/TestAppDriver.pm line 49. not ok 2 - successful login - username set # Failed test 'successful login - username set' # at t/TestAppDriver.pm line 50. # got: undef # expected: 'user1' ok 3 - missing credentials - login failure ok 4 - missing credentials - username not set ok 5 - login failure ok 6 - login failure - username not set not ok 7 - successful login # Failed test 'successful login' # at t/TestAppDriver.pm line 49. not ok 8 - successful login - username set # Failed test 'successful login - username set' # at t/TestAppDriver.pm line 50. # got: undef # expected: 'user2' ok 9 - missing credentials - login failure ok 10 - missing credentials - username not set ok 11 - login failure ok 12 - login failure - username not set not ok 13 - successful login # Failed test 'successful login' # at t/TestAppDriver.pm line 49. not ok 14 - successful login - username set # Failed test 'successful login - username set' # at t/TestAppDriver.pm line 50. # got: undef # expected: 'user3' ok 15 - missing credentials - login failure ok 16 - missing credentials - username not set ok 17 - login failure ok 18 - login failure - username not set not ok 19 - successful login # Failed test 'successful login' # at t/TestAppDriver.pm line 49. not ok 20 - successful login - username set # Failed test 'successful login - username set' # at t/TestAppDriver.pm line 50. # got: undef # expected: 'user4' ok 21 - missing credentials - login failure ok 22 - missing credentials - username not set ok 23 - login failure ok 24 - login failure - username not set not ok 25 - successful login # Failed test 'successful login' # at t/TestAppDriver.pm line 49. not ok 26 - successful login - username set # Failed test 'successful login - username set' # at t/TestAppDriver.pm line 50. # got: undef # expected: 'user5' ok 27 - missing credentials - login failure ok 28 - missing credentials - username not set ok 29 - login failure ok 30 - login failure - username not set # Looks like you failed 10 tests of 30. Debugging session: DB<18> n Apache::Htpasswd::htCheckPassword(C:/Perl/site/lib/Apache/Htpasswd.pm:93): 93: return 1 if crypt($pass, $cryptPass) eq $cryptPass; DB<18> p $cryptPass E56EEScnmcTO2 DB<19> p crypt($pass, $cryptPass) E56EEScnmcTO2 This equality fails despite the apparent equivalence.