X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest1.px;h=40cdef55ecab135260ecd19b33a6b1d900bbd125;hp=c60454a0f9a1a3ba6074bd25685105726c13109e;hb=4ad743db989fbd62e541c15ab3e65c6ac8d7715d;hpb=823228830e57766ebabe529b75765816cb2507dc diff --git a/tests/Test1.px b/tests/Test1.px index c60454a0..40cdef55 100755 --- a/tests/Test1.px +++ b/tests/Test1.px @@ -23,7 +23,7 @@ my %urls = ( }, ); -my $cmdline = "../src/wget -vd http://localhost:8080/dummy.html"; +my $cmdline = "../src/wget http://localhost:8080/dummy.html"; my $expected_error_code = 0; @@ -35,10 +35,11 @@ my %expected_downloaded_files = ( ############################################################################### -my $the_test = HTTPTest->new (urls => \%urls, +my $the_test = HTTPTest->new (name => "Test1", + input => \%urls, cmdline => $cmdline, errcode => $expected_error_code, - downloads => \%expected_downloaded_files); + output => \%expected_downloaded_files); $the_test->run(); # vim: et ts=4 sw=4