aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-03-07 17:48:17 +0100
committerAngelo Naselli <anaselli@linux.it>2014-03-07 17:48:17 +0100
commitc858e9d0205fb2c9a1f6c66c2e1036cc5cc96558 (patch)
tree9cacf8b51346f257ab11d47ae862b0621493cfad /t
parent8a83e7d1dd2ab61270ed0b78a716fc3e5dfd41ab (diff)
downloadcolin-keep-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.tar
colin-keep-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.tar.gz
colin-keep-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.tar.bz2
colin-keep-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.tar.xz
colin-keep-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.zip
added test for journalctl
Diffstat (limited to 't')
-rw-r--r--t/02-JournalCtl.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/02-JournalCtl.t b/t/02-JournalCtl.t
new file mode 100644
index 0000000..2fd6710
--- /dev/null
+++ b/t/02-JournalCtl.t
@@ -0,0 +1,14 @@
+#!perl -T
+use 5.006;
+use strict;
+use warnings FATAL => 'all';
+use Test::More;
+
+BEGIN {
+ use_ok( 'AdminPanel::Shared::JournalCtl' ) || print "JournalCtl failed!\n";
+}
+
+ok( my $o = AdminPanel::Shared::JournalCtl->new(), 'create');
+ok( my $c = $o->get(), 'gets_log' );
+
+done_testing;