Page MenuHomeFreeBSD

Add unit test for cpuset_parlelist(3)
ClosedPublic

Authored by bapt on Nov 11 2017, 3:06 PM.
Tags
None
Referenced Files
F146387536: D13046.id122742.diff
Mon, Mar 2, 7:22 AM
Unknown Object (File)
Fri, Feb 20, 12:06 PM
Unknown Object (File)
Fri, Feb 20, 12:05 PM
Unknown Object (File)
Fri, Feb 20, 12:05 PM
Unknown Object (File)
Thu, Feb 19, 6:22 PM
Unknown Object (File)
Thu, Feb 12, 9:27 PM
Unknown Object (File)
Sun, Feb 8, 9:15 AM
Unknown Object (File)
Sat, Feb 7, 10:06 PM
Subscribers

Diff Detail

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

Event Timeline

jilles requested changes to this revision.Nov 12 2017, 8:20 PM
jilles added inline comments.
lib/libutil/tests/cpuset_test.c
25

This works but ATF_CHECK_EQ may give a clearer message in case of failure (see atf-c(3)).

51

It would be useful to check that the resulting mask contains the expected CPUs, here and in the next test.

This revision now requires changes to proceed.Nov 12 2017, 8:20 PM
This revision was not accepted when it landed; it landed in state Needs Revision.Jun 1 2023, 9:28 PM
This revision was automatically updated to reflect the committed changes.