Page MenuHomeFreeBSD

Add unit test for cpuset_parlelist(3)
Needs RevisionPublic

Authored by bapt on Nov 11 2017, 3:06 PM.

Details

Reviewers
jilles

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 12657
Build 12928: arc lint + arc unit

Event Timeline

bapt created this revision.Nov 11 2017, 3:06 PM
jilles requested changes to this revision.Nov 12 2017, 8:20 PM
jilles added inline comments.
lib/libutil/tests/cpuset_test.c
24

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

50

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