freebsd-skq/tools/regression/usr.bin/lastcomm
2010-01-04 09:59:18 +00:00
..
Makefile
README Modify file generation instructions to remove the tty field: 2007-05-24 06:57:50 +00:00
regress.t It is expected these are chmod +x. 2010-01-04 09:50:30 +00:00
v1-amd64-acct.in
v1-amd64.out
v1-i386-acct.in
v1-i386.out
v1-sparc64-acct.in Regression tests for sparc64 record formats. 2007-05-22 06:34:20 +00:00
v1-sparc64.out Add sparc64 regression test files. 2007-05-24 07:00:53 +00:00
v2-amd64-acct.in
v2-amd64.out
v2-i386-acct.in
v2-i386.out
v2-sparc64-acct.in Regression tests for sparc64 record formats. 2007-05-22 06:34:20 +00:00
v2-sparc64.out Add sparc64 regression test files. 2007-05-24 07:00:53 +00:00
values.sh You need to be root to run this test. 2010-01-04 09:59:18 +00:00

$FreeBSD$

To create the files for regression testing do the following.

1. Run values.sh for a given architecture and accounting version.
2. Unpack the generated file and rename acct into VERSION-ARCH.acct.
3. Run lastcomm -cuseS -f VERSION-ARCH-acct.in |
   awk '{$4 = ""; print}' >VERSION-ARCH.out.
4. Compare the reported values in VERSION-ARCH.out against the
   *.time values found in the file that values.sh generated.