Page MenuHomeFreeBSD

Add unit test for cpuset_parlelist(3)
ClosedPublic

Authored by bapt on Nov 11 2017, 3:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 2:01 PM
Unknown Object (File)
Mon, Dec 16, 5:23 PM
Unknown Object (File)
Sep 26 2024, 10:23 PM
Unknown Object (File)
Sep 26 2024, 10:14 PM
Unknown Object (File)
Sep 24 2024, 5:18 PM
Unknown Object (File)
Sep 24 2024, 5:18 PM
Unknown Object (File)
Sep 24 2024, 5:18 PM
Unknown Object (File)
Sep 24 2024, 11:32 AM
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.