diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-03-07 17:48:17 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-03-07 17:48:17 +0100 |
commit | c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558 (patch) | |
tree | 9cacf8b51346f257ab11d47ae862b0621493cfad /t | |
parent | 8a83e7d1dd2ab61270ed0b78a716fc3e5dfd41ab (diff) | |
download | manatools-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.tar manatools-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.tar.gz manatools-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.tar.bz2 manatools-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.tar.xz manatools-c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558.zip |
added test for journalctl
Diffstat (limited to 't')
-rw-r--r-- | t/02-JournalCtl.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/t/02-JournalCtl.t b/t/02-JournalCtl.t new file mode 100644 index 00000000..2fd6710e --- /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; |