File: daemon.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 (10 lines) | stat: -rw-r--r-- 239 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
use Test::More;
use Test::Fatal;

use_ok 'Linux::Systemd::Daemon', qw/sd_notify sd_ready/;

is exception { sd_notify(ready => 1) }, undef, 'sent notification';

is exception { sd_ready() }, undef, 'sent ready notification';

done_testing;