File: 05fields.t

package info (click to toggle)
libsys-utmp-perl 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 176 kB
  • sloc: perl: 226; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl 

use strict;
use warnings;

use Sys::Utmp qw(:fields);
use Test::More tests => 7;

ok(defined UT_USER, 'UT_USER field');
ok(defined UT_ID, 'UT_ID field');
ok(defined UT_LINE, 'UT_LINE field');
ok(defined UT_PID, 'UT_PID field');
ok(defined UT_TYPE, 'UT_TYPE field');
ok(defined UT_HOST, 'UT_HOST field');
ok(defined UT_TIME, 'UT_TIME field');