← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 2047961] [NEW] build time tests fail with libcgi-pm-perl >=4.58

 

Public bug reported:

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/perl5/Test/Regression.pm line 92.
696s     # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
696s     # | Ln|Got                                                                                                                                                                                                                            |Expected                                       |
696s     # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
696s     # *  1|'Set-Cookie: CAPAUTH_DATA=bGFzdF9hY2Nlc3M9MTcwMzQ1Nzg3MABjPXZWZnEreUdSNFQ3NVZ4ZWFOWXNFQjJoTjJ2OABsb2dpbl9hdHRlbXB0cz0wAHVzZXJuYW1lPXVzZXIxAGxhc3RfbG9naW49MTcwMzQ1Nzg3MA%3D%3D; path=/; expires=Mon, 23 Dec 2024 22:44:30 GMT  |'Set-Cookie: CAPAUTH_DATA=; path=/; expires=;  *
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.

** Affects: libcgi-application-plugin-authentication-perl (Ubuntu)
     Importance: Undecided
     Assignee: Chris Peterson (cpete)
         Status: In Progress

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libcgi-application-plugin-
authentication-perl in Ubuntu.
https://bugs.launchpad.net/bugs/2047961

Title:
  build time tests fail with libcgi-pm-perl >=4.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgi-application-plugin-authentication-perl/+bug/2047961/+subscriptions



Follow ups