2101ef6b90
usr.bin/lastcom/tests/Makefile usr.sbin/sa/tests/Makefile Set allow_architectures appropriately. These tests depend on golden files that must be generated for each architecture, and haven't yet been generated for all of them. PR: 210566 PR: 204154 Reviewed by: ngie Approved by: re (gjb) MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6960 |
||
---|---|---|
.. | ||
legacy_test.sh | ||
Makefile | ||
Makefile.depend | ||
README | ||
v1-amd64-acct.in | ||
v1-amd64.out | ||
v1-i386-acct.in | ||
v1-i386.out | ||
v1-sparc64-acct.in | ||
v1-sparc64.out | ||
v2-amd64-acct.in | ||
v2-amd64.out | ||
v2-i386-acct.in | ||
v2-i386.out | ||
v2-sparc64-acct.in | ||
v2-sparc64.out | ||
values.sh |
$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.