summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/php/virtual.t
diff options
context:
space:
mode:
Diffstat (limited to 'debian/perl-framework/t/php/virtual.t')
-rw-r--r--debian/perl-framework/t/php/virtual.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/perl-framework/t/php/virtual.t b/debian/perl-framework/t/php/virtual.t
new file mode 100644
index 0000000..f0dd67e
--- /dev/null
+++ b/debian/perl-framework/t/php/virtual.t
@@ -0,0 +1,13 @@
+use strict;
+use warnings FATAL => 'all';
+
+use Apache::Test;
+use Apache::TestRequest;
+use Apache::TestUtil;
+
+plan tests => 1, sub { need_php() && need_module('negotiation') };
+
+my $result = GET_BODY "/php/virtual.php";
+chomp $result;
+ok t_cmp($result, "before file.html after",
+ "regression test for http://bugs.php.net/bug.php?id=30446");