Page MenuHomeFreeBSD

Integrate contrib/file/tests with kyua/atf
ClosedPublic

Authored by vangyzen on Feb 16 2022, 4:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 28, 2:44 PM
Unknown Object (File)
Tue, Dec 24, 6:16 PM
Unknown Object (File)
Mon, Dec 23, 10:45 PM
Unknown Object (File)
Mon, Dec 23, 9:27 PM
Unknown Object (File)
Thu, Dec 19, 2:53 PM
Unknown Object (File)
Thu, Dec 19, 12:23 PM
Unknown Object (File)
Dec 2 2024, 8:38 PM
Unknown Object (File)
Nov 28 2024, 6:17 AM

Details

Summary

This could be done better by making each test a separate ATF test case.
This exercise is left for the reader.

MFC after: 1 week
Sponsored by: Dell EMC Isilon

Test Plan
$ pwd
/usr/tests/usr.bin/file

$ kyua test
file_test:contrib_file_tests  ->  passed  [0.281s]

Results file id is usr_tests_usr.bin_file.20220216-155405-724728
Results saved to /home/vangyzen/.kyua/store/results.usr_tests_usr.bin_file.20220216-155405-724728.db

1/1 passed (0 failed)

$ ls | wc -l
     103

$ du -shA
181K	.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 16 2022, 4:44 PM
  • fixup: attach tests to the parent Makefile
This revision now requires review to proceed.Feb 16 2022, 5:47 PM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 16 2022, 7:04 PM
This revision was automatically updated to reflect the committed changes.