Page MenuHomeFreeBSD

queue(3): Add simple tests for some macros for all list/tailq types
Needs ReviewPublic

Authored by olce on Wed, Apr 23, 10:05 AM.
Tags
None
Referenced Files
F115426954: D49975.id154153.diff
Wed, Apr 23, 5:12 PM
F115426888: D49975.id154167.diff
Wed, Apr 23, 5:11 PM
F115426886: D49975.id.diff
Wed, Apr 23, 5:11 PM
F115425708: D49975.id154167.diff
Wed, Apr 23, 4:49 PM
F115425509: D49975.id.diff
Wed, Apr 23, 4:45 PM
F115423176: D49975.diff
Wed, Apr 23, 4:06 PM
Subscribers

Details

Reviewers
markj
emaste
Summary

These essentially test building a list/tailq of 100 elements with
_INSERT_HEAD(), iterating over them with _FOREACH(), splitting it with
_SPLIT_AFTER() and concatenating back the results with _CONCAT(),
checking that the lists/tailqs at each step have the right number of
elements and at the expected positions.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63675
Build 60559: arc lint + arc unit