1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
wget/tests/Test--post-file.px
Lars Wendler 593b59c697 Don't use --debug in Test--post-file.px
Test--post-file.px fails when wget is compiled without debugging support.

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
2014-01-27 23:33:08 +01:00

24 lines
562 B
Perl
Executable File

#!/usr/bin/env perl
use strict;
use warnings;
use HTTPTest;
###############################################################################
my $cmdline = $WgetTest::WGETPATH . " --post-file=nofile http://localhost:{{port}}/";
my $expected_error_code = 3;
###############################################################################
my $the_test = HTTPTest->new (name => "Test-missing-file",
cmdline => $cmdline,
errcode => $expected_error_code);
exit $the_test->run();
# vim: et ts=4 sw=4