File: 05fields.t

package info (click to toggle)
libsys-utmp-perl 1.6-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 116 kB
  • ctags: 10
  • sloc: perl: 237; makefile: 40
file content (15 lines) | stat: -rwxr-xr-x 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');