Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make test pass in 2025 #56

Merged
merged 1 commit into from Nov 12, 2019
Merged

Make test pass in 2025 #56

merged 1 commit into from Nov 12, 2019

Conversation

bmwiedemann
Copy link
Contributor

Background:
As part of my work on reproducible builds for openSUSE, I check that software still gives identical build results in the future.
The usual offset is +15 years, because that is how long I expect some software will be used in some places.
This showed up failing tests in our package build.
See https://reproducible-builds.org/ for why this matters.

oalders
oalders previously approved these changes Nov 10, 2019
@@ -7,12 +7,12 @@ use HTTP::Request;
use HTTP::Response;

my $req = HTTP::Request->new(GET => "http://example.com");
my $resp = HTTP::Response->new(200, 'OK', ['Set-Cookie', q!a="b;c;\\"d"; expires=Fri, 06-Nov-2025 08:58:34 GMT; domain=example.com; path=/!]);
my $resp = HTTP::Response->new(200, 'OK', ['Set-Cookie', q!a="b;c;\\"d"; expires=Fri, 06-Nov-2999 08:58:34 GMT; domain=example.com; path=/!]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this cause failures on systems with a year 2038 problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. I now tested that tests still pass on i586 even in 2037.

@oalders oalders dismissed their stale review November 10, 2019 03:34

Dismissing as I wanted to check about 2038 problem first

Background:
As part of my work on reproducible builds for openSUSE, I check that software still gives identical build results in the future.
The usual offset is +15 years, because that is how long I expect some software will be used in some places.
This showed up failing tests in our package build.
See https://reproducible-builds.org/ for why this matters.
@bmwiedemann
Copy link
Contributor Author

Rebased without changes to make travis tests pass

@oalders
Copy link
Member

oalders commented Nov 12, 2019

Thanks @bmwiedemann!

@oalders oalders merged commit 45d1468 into libwww-perl:master Nov 12, 2019
@oalders
Copy link
Member

oalders commented Nov 12, 2019

New version has now been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants