summaryrefslogtreecommitdiffstats
path: root/usr.bin/lastcomm/tests/README
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/lastcomm/tests/README')
-rw-r--r--usr.bin/lastcomm/tests/README10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/lastcomm/tests/README b/usr.bin/lastcomm/tests/README
new file mode 100644
index 0000000..62e0281
--- /dev/null
+++ b/usr.bin/lastcomm/tests/README
@@ -0,0 +1,10 @@
+$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.
OpenPOWER on IntegriCloud