X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-np.px;h=4afc27c6fdc75b1b051fe9e3d560f53a91694b82;hp=f674193a3d7b50f57cf3232723dffabcdd6d56d9;hb=HEAD;hpb=1777835073cad695bce04848aa6f33e9686e7fc1 diff --git a/tests/Test-np.px b/tests/Test-np.px index f674193a..4afc27c6 100755 --- a/tests/Test-np.px +++ b/tests/Test-np.px @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -55,7 +55,7 @@ my $fourthpage = <

This page is only linked by the higher level page. Therefore, it should not - be downloaded. + be downloaded.

@@ -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 + should not be downloaded. Wget should not visit the following link to a fourth page.

@@ -139,9 +139,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-np", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();