File: 04constants.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 (18 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl 

use strict;
use warnings;
use Test::More tests => 10;

use Sys::Utmp qw(:constants);

ok(defined ACCOUNTING,'ACCOUNTING Constant');
ok(defined BOOT_TIME, 'BOOT_TIME Constant');
ok(defined DEAD_PROCESS, 'DEAD_PROCESS Constant');
ok(defined EMPTY, 'EMPTY Constant');
ok(defined INIT_PROCESS, 'INIT_PROCESS Constant');
ok(defined LOGIN_PROCESS, 'LOGIN_PROCESS Constant');
ok(defined NEW_TIME, 'NEW_TIME Constant');
ok(defined OLD_TIME, 'OLD_TIME Constant');
ok(defined RUN_LVL, 'RUN_LVL Constant');
ok(defined USER_PROCESS, 'USER_PROCESS Constant');