build time tests fail with libcgi-pm-perl >=4.58
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcgi-application-plugin-authentication-perl (Debian) |
Fix Released
|
Unknown
|
|||
libcgi-application-plugin-authentication-perl (Ubuntu) |
Fix Released
|
High
|
Chris Peterson |
Bug Description
Certain build test outputs are failing to match the expected output.
An example from build log:
696s t/80_devpopup.t .......
696s 1..4
696s ok 1 - taint checking is on
696s # Subtest: front page
696s 1..2
696s ok 1 - frontpage
696s ok 2 - not authenticated
696s ok 2 - front page
696s # Subtest: interception
696s 1..2
696s ok 1 - login
696s ok 2 - not authenticated
696s ok 3 - interception
696s # Subtest: successful login
696s 1..4
696s not ok 1 - success
696s
696s # Failed test 'success'
696s # at /usr/share/
696s # +---+--
696s # | Ln|Got |Expected |
696s # +---+--
696s # * 1|'Set-Cookie: CAPAUTH_
696s # | 2|Date |Date |
696s # | 3|Content-Type: text/html; charset=ISO-8859-1 |Content-Type: text/html; charset=ISO-8859-1 |
696s # | 4| | |
696s # +---+--
This is because the cookies expires date format changed in libcgpi-pm-perl in version 4.58, which the test normally strips out but is now using the incorrect regex.
Changed in libcgi-application-plugin-authentication-perl (Ubuntu): | |
status: | In Progress → New |
Changed in libcgi-application-plugin-authentication-perl (Debian): | |
status: | Unknown → Fix Released |
I can't edit my previous comment, but attached is a fix which updates the failing tests.