File: read.t

package info (click to toggle)
liblinux-systemd-perl 1.201600-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 284 kB
  • sloc: perl: 640; makefile: 7
file content (14 lines) | stat: -rw-r--r-- 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use Test::More;
use Test::Fatal;

use_ok 'Linux::Systemd::Journal::Read';

my $jnl = new_ok 'Linux::Systemd::Journal::Read';

is exception { $jnl->seek_tail }, undef, 'Moved cursor to tail';

is exception { $jnl->previous }, undef, 'Moved cursor to previous entry';

is exception { $jnl->seek_head }, undef, 'Moved cursor to head';

done_testing;