From c858e9d0205fb2c9a1f6c66c2e1036cc5cc96558 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Fri, 7 Mar 2014 17:48:17 +0100 Subject: added test for journalctl --- t/02-JournalCtl.t | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 t/02-JournalCtl.t (limited to 't') 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; -- cgit v1.2.1