X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest--spider-r.px;h=b32f792dd4e362e67a6ee7d4e02b832f2d44624a;hp=7b8d460f107d1ee59784f7973e43241841102b59;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=caae3b70f46bd519857b595f7f06ea0179551336 diff --git a/tests/Test--spider-r.px b/tests/Test--spider-r.px index 7b8d460f..b32f792d 100755 --- a/tests/Test--spider-r.px +++ b/tests/Test--spider-r.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -14,8 +15,8 @@ my $mainpage = <

- Some text and a link to a second page. - Also, a broken link. + Some text and a link to a second page. + Also, a broken link.

@@ -28,8 +29,8 @@ my $secondpage = <

- Some text and a link to a third page. - Also, a broken link. + Some text and a link to a third page. + Also, a broken link.

@@ -42,8 +43,8 @@ my $thirdpage = <

- Some text and a link to a text file. - Also, another broken link. + Some text and a link to a text file. + Also, another broken link.

@@ -89,7 +90,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --spider -r http://localhost:8080/"; +my $cmdline = $WgetTest::WGETPATH . " --spider -r http://localhost:{{port}}/"; my $expected_error_code = 0;