]> sjero.net Git - wget/blobdiff - tests/Test1.px
[svn] Major improvement of testing suite.
[wget] / tests / Test1.px
index c60454a0f9a1a3ba6074bd25685105726c13109e..40cdef55ecab135260ecd19b33a6b1d900bbd125 100755 (executable)
@@ -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