9 ###############################################################################
19 $afile =~ s/\n/\r\n/g;
20 $bfile =~ s/\n/\r\n/g;
22 # code, msg, headers, content
32 my $cmdline = $WgetTest::WGETPATH . " -nH -Nc -r ftp://localhost:{{port}}/";
34 my $expected_error_code = 0;
36 # Don't need to worry about timestamps, the "bad_list" setting will
37 # ensure the sizes don't match expectations, and so they'll always be
39 my %expected_downloaded_files = (
48 my %preexisting_files = (
57 ###############################################################################
59 my $the_test = FTPTest->new (name => "Test-ftp-bad-list",
62 errcode => $expected_error_code,
63 output => \%expected_downloaded_files,
64 existing => \%preexisting_files,
65 server_behavior => {bad_list => 1});
66 exit $the_test->run();