opnsense-src/usr.bin/lastcomm/tests/README
Warner Losh 05248206f7 Remove $FreeBSD$: one-line bare tag
Remove /^\s*\$FreeBSD\$$\n/
2023-08-16 11:55:20 -06:00

9 lines
416 B
Text

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.