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

- Some text and a link to a second page. + Some text and a link to a second page.

@@ -27,7 +28,7 @@ my $secondpage = <

- Some text and a link to a third page. + Some text and a link to a third page.

@@ -40,7 +41,7 @@ my $thirdpage = <

- Some text and a link to a higher level page. + Some text and a link to a higher level page.

@@ -69,7 +70,7 @@ my $higherlevelpage = < This page is on a higher level in the URL path hierarchy. Therefore, it should not be downloaded. Wget should not visit the following link to a - fourth page. + fourth page.

@@ -119,7 +120,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " -np -nH -r http://localhost:8080/firstlevel/"; +my $cmdline = $WgetTest::WGETPATH . " -np -nH -r http://localhost:{{port}}/firstlevel/"; my $expected_error_code = 0;