Subject: | [PATCH] Test failures due to aged out cookie in test file |
I'v been trying to determine the actual problem for why this test has
been failing with bleadperl, and have finally determined the cause. For
some reason, tests failed with bleadperl for t/load.t and t/save.t .
The problem is that the test data in t/cookies.t has a cookie with a
maxage in the past. This causes HTTP::Cookies to not load this into the
COOKIES hash. The following patch causes the failues to go away.
--- t/cookies.txt.old 2007-01-09 23:39:30.000000000 -0600
+++ t/cookies.txt 2007-07-19 09:14:27.578125000 -0500
@@ -4,7 +4,7 @@
# To delete cookies, use the Cookie Manager.
.ebay.com TRUE / FALSE 1196107526 lucky9 88341
-.ebay.com TRUE / FALSE 1169877124 nonsession
AQAAAAEAAAAIAAAAVAAAAATU4z0EYQs+MDEwMzgzNDExMjR4NjFodHRwOi8vY2dpLmViYXkuY29tL3dzL2VCYXlJU0FQSS5kbGw/Vmlld0l0ZW0maXRlbT0xNzgyNzk1OTE3Tg**l
+.ebay.com TRUE / FALSE 1767153600 nonsession
AQAAAAEAAAAIAAAAVAAAAATU4z0EYQs+MDEwMzgzNDExMjR4NjFodHRwOi8vY2dpLmViYXkuY29tL3dzL2VCYXlJU0FQSS5kbGw/Vmlld0l0ZW0maXRlbT0xNzgyNzk1OTE3Tg**l
.usatoday.com TRUE / FALSE 1293836456 RMID 0cf726bf3ddf1180
.usatoday.com TRUE / FALSE 1767153600 UID 0cf726bf3ddf1180
.usatoday.com TRUE / FALSE 1767153600 USATINFO UID%3D0cf726bf3ddf1180