summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/php/status.t
blob: cc783aeb54b0eea9c9bb123b1b8baa55104574db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings FATAL => 'all';

use Apache::Test;
use Apache::TestRequest;
use Apache::TestUtil;

my @codes = (404, 599);

plan tests => @codes + 0, need_php;

foreach my $code (@codes) {
    ok t_cmp(GET_RC("/php/status.php?code=$code"), $code,
             "regression test for http://bugs.php.net/bug.php?id=31519");
}