summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/php/getenv.t
diff options
context:
space:
mode:
Diffstat (limited to 'debian/perl-framework/t/php/getenv.t')
-rw-r--r--debian/perl-framework/t/php/getenv.t15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/perl-framework/t/php/getenv.t b/debian/perl-framework/t/php/getenv.t
new file mode 100644
index 0000000..9d54878
--- /dev/null
+++ b/debian/perl-framework/t/php/getenv.t
@@ -0,0 +1,15 @@
+use strict;
+use warnings FATAL => 'all';
+
+use Apache::Test;
+use Apache::TestRequest;
+use Apache::TestUtil;
+
+plan tests => 1, need_php;
+
+# Regression test for http://bugs.php.net/bug.php?id=19840
+
+ok t_cmp((GET_BODY "/php/getenv.php"),
+ "GET",
+ "getenv(REQUEST_METHOD)"
+);