Validate the cases where a match can be found immediately and where no
match can be found. This extends the existing test cases and is enough
to catch the bug fixed in commit 6e7a585348d5 ("bitstring: fix ff_area()
when start!=0").
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 45636 Build 42524: arc lint + arc unit
Event Timeline
tests/sys/sys/bitstring_test.c | ||
---|---|---|
353 | My bad. The error is that we *did* find %d clear bits at %d, when we did not expect to. |