Subject: | Live Google tests fail -- possible web site change? |
I installed on FC4 and opted for the live tests. They failed in a manner
that suggested that it was because Google's web site structure has
changed since the tests were devised.
t/live/follow...........ok
1/11 skipped: Test::Memory::Cycle not installed
t/live/follow_link......ok 4/7
# Failed test 'Got the correct page'
# in t/live/follow_link.t at line 21.
# got: 'http://www.google.com/intl/en/ads/'
# expected: 'http://www.google.com/ads/'
# Looks like you failed 1 test of 7.
t/live/follow_link......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 6
Failed 1/7 tests, 85.71% okay (less 1 skipped test: 5 okay, 71.43%)
t/live/form.............ok
t/live/get..............ok 7/26
# Failed test 'Got relative OK'
# in t/live/get.t at line 24.
# got: 'http://www.google.com/intl/en/ads/'
# expected: 'http://www.google.com/ads/'
t/live/get..............ok 11/26
# Failed test 'Got the support page'
# in t/live/get.t at line 28.
# Failed test 'Got relative OK'
# in t/live/get.t at line 29.
# got: 'http://www.google.com/intl/en/ads/'
# expected: 'http://www.google.com/support/'
# Failed test 'Title matches'
# in t/live/get.t at line 31.
# got: '404 Not Found'
# expected: 'Google: Help Center'
t/live/get..............NOK 15
# Failed test 'Got relative OK'
# in t/live/get.t at line 34.
# got: 'http://www.google.com/intl/en/help/basics.html'
# expected: 'http://www.google.com/help/basics.html'
t/live/get..............ok 20/26
# Failed test 'Got relative OK'
# in t/live/get.t at line 40.
# got: 'http://www.google.com/intl/en/help/refinesearch.html'
# expected: 'http://www.google.com/help/refinesearch.html'
# Looks like you failed 6 tests of 26.
t/live/get..............dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 9, 12-13, 15, 17, 22
Failed 6/26 tests, 76.92% okay (less 1 skipped test: 19 okay,
73.08%)
In a rush, I reinstalled with -f and without the tests, and of course
everything went smoothly. Looking forward to using this module to test
my new CGI::Application doo-dad (just reading Perl Medic as I type.)
I'm still digging out from an avalance of work, otherwise I'd go figure
out the problem myself and suggest a patch. Thanks!!!
Alex