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

Chris Peterson 2047961 at bugs.launchpad.net
Wed Jan 3 18:19:34 UTC 2024


I can't edit my previous comment, but attached is a fix which updates
the failing tests.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2047961

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

Status in libcgi-application-plugin-authentication-perl package in Ubuntu:
  In Progress
Status in libcgi-application-plugin-authentication-perl package in Debian:
  Unknown

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/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.

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




More information about the Ubuntu-sponsors mailing list