summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/01compile.t10
-rw-r--r--t/cfg.t1
2 files changed, 11 insertions, 0 deletions
diff --git a/t/01compile.t b/t/01compile.t
new file mode 100644
index 00000000..366848aa
--- /dev/null
+++ b/t/01compile.t
@@ -0,0 +1,10 @@
+#!/usr/bin/perl
+
+use strict;
+use Test::More tests => 10;
+
+for my $module (glob("urpm/*.pm")) {
+ $module =~ s,/,::,g;
+ $module =~ s,\.pm$,,;
+ use_ok $module;
+}
diff --git a/t/cfg.t b/t/cfg.t
index 28a65d1c..91da6015 100644
--- a/t/cfg.t
+++ b/t/cfg.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl
+use strict;
use Test::More 'no_plan';
use File::Slurp;