summaryrefslogtreecommitdiff
path: root/t/02modules.t
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-02-22 12:54:30 +0200
committerSergey Poznyakoff <gray@gnu.org>2018-02-22 12:54:30 +0200
commitc16f2363476167d59a2eaad38ef9e98f032ebdd1 (patch)
tree9cac41ac5cd55e76d872c9a977187484a76092f0 /t/02modules.t
parent3c71a4b3c78a8b25258e858135cd239d22bd83c9 (diff)
downloadapache-defaults-c16f2363476167d59a2eaad38ef9e98f032ebdd1.tar.gz
apache-defaults-c16f2363476167d59a2eaad38ef9e98f032ebdd1.tar.bz2
Improve error reporting; Add documentation and test suite.
Diffstat (limited to 't/02modules.t')
-rw-r--r--t/02modules.t15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/02modules.t b/t/02modules.t
new file mode 100644
index 0000000..af85a63
--- /dev/null
+++ b/t/02modules.t
@@ -0,0 +1,15 @@
+# -*- perl -*-
+use lib qw(t lib);
+use strict;
+use warnings;
+use Test;
+use TestHttpd;
+
+plan test => 3;
+
+my $x = new TestHttpd;
+
+ok(join(',', $x->preloaded), 'cgi_module,so_module');
+ok($x->preloaded('cgi_module'), 'mod_cgi.c');
+ok(join(',', $x->preloaded('so_module','cgi_module')), 'mod_so.c,mod_cgi.c');
+

Return to:

Send suggestions and report system problems to the System administrator.