X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-np.px;h=28d13eeced2d7d69f58b7362583197d8996c8756;hb=f0438edcf2e34169fb0792119ac9ce10ae35a564;hp=dcb165fda033a21a2867301d57ae3e65e891b3dc;hpb=92b2323253a9cc0e5e3491fe1895ef710315aed7;p=wget diff --git a/tests/Test-np.px b/tests/Test-np.px index dcb165fd..28d13eec 100755 --- a/tests/Test-np.px +++ b/tests/Test-np.px @@ -14,7 +14,7 @@ my $mainpage = <

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

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

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

@@ -40,7 +40,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 +69,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 +119,7 @@ my %urls = ( }, ); -my $cmdline = "wget -np -nH -r http://localhost:8080/firstlevel/"; +my $cmdline = $WgetTest::WGETPATH . " -np -nH -r http://localhost:{{port}}/firstlevel/"; my $expected_error_code = 0; @@ -142,7 +142,7 @@ my $the_test = HTTPTest->new (name => "Test-np", cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4