2013-03-12 02:51:07 -04:00
|
|
|
#!/usr/bin/env perl
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
use HTTPTest;
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
2014-01-23 02:30:07 -05:00
|
|
|
my $cmdline = $WgetTest::WGETPATH . " --post-file=nofile http://localhost:{{port}}/";
|
2013-03-12 02:51:07 -04:00
|
|
|
|
|
|
|
my $expected_error_code = 3;
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
2014-10-02 05:26:59 -04:00
|
|
|
my $the_test = HTTPTest->new (cmdline => $cmdline,
|
2013-03-12 02:51:07 -04:00
|
|
|
errcode => $expected_error_code);
|
|
|
|
exit $the_test->run();
|
|
|
|
|
|
|
|
# vim: et ts=4 sw=4
|