Debian Codegraph @

tests/Test-204.px

raw
1 #!/usr/bin/env perl
2
3 use strict;
4 use warnings;
5
6 use HTTPTest;
7
8
9 ###############################################################################
10
11 # code, msg, headers, content
12 my %urls = (
13 '/dummy' => {
14 code => "204",
15 msg => "Dontcare",
16 },
17 );
18
19 my $cmdline = $WgetTest::WGETPATH . " http://localhost:{{port}}/dummy";
20
21 my $expected_error_code = 0;
22
23 my %expected_downloaded_files = (
24 );
25
26 ###############################################################################
27
28 my $the_test = HTTPTest->new (input => \%urls,
29 cmdline => $cmdline,
30 errcode => $expected_error_code,
31 output => \%expected_downloaded_files);
32 exit $the_test->run();
33
34 # vim: et ts=4 sw=4