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)
Mon, Dec 2, 8:38 PM
Unknown Object (File)
Thu, Nov 28, 6:17 AM
Unknown Object (File)
Sun, Nov 24, 9:44 PM
Unknown Object (File)
Sun, Nov 24, 3:42 AM
Unknown Object (File)
Sat, Nov 23, 1:41 AM
Unknown Object (File)
Wed, Nov 20, 12:04 PM
Unknown Object (File)
Tue, Nov 19, 12:32 PM
Unknown Object (File)
Nov 18 2024, 7:14 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.