summaryrefslogtreecommitdiff
path: root/t/03env.t
diff options
context:
space:
mode:
Diffstat (limited to 't/03env.t')
-rw-r--r--t/03env.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/03env.t b/t/03env.t
new file mode 100644
index 0000000..9644840
--- /dev/null
+++ b/t/03env.t
@@ -0,0 +1,14 @@
+# -*- perl -*-
+use lib qw(t lib);
+use strict;
+use warnings;
+use Test;
+use TestHttpd;
+
+plan test => 3;
+
+my $x = new TestHttpd(environ => { MOCK_HTTPD_CATCH => 22 });
+
+ok($x->name, 'Apache');
+ok($x->version, '2.4.6');
+ok($x->defines('MOCK_HTTPD_CATCH'), 22);

Return to:

Send suggestions and report system problems to the System administrator.