summaryrefslogtreecommitdiffabout
path: root/t/02modules.t
Side-by-side diff
Diffstat (limited to 't/02modules.t') (more/less context) (ignore whitespace changes)
-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
--- a/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.