]> sjero.net Git - wget/blob - tests/Test--post-file.px
Don't use --debug in Test--post-file.px
[wget] / tests / Test--post-file.px
1 #!/usr/bin/env perl
2
3 use strict;
4 use warnings;
5
6 use HTTPTest;
7
8
9 ###############################################################################
10
11 my $cmdline = $WgetTest::WGETPATH . " --post-file=nofile http://localhost:{{port}}/";
12
13 my $expected_error_code = 3;
14
15
16 ###############################################################################
17
18 my $the_test = HTTPTest->new (name => "Test-missing-file",
19                               cmdline => $cmdline,
20                               errcode => $expected_error_code);
21 exit $the_test->run();
22
23 # vim: et ts=4 sw=4