Skip to content

Commit

Permalink
list: test: Test the hlist structure
Browse files Browse the repository at this point in the history
Add KUnit tests to the hlist linked-list structure which is used by
hashtables. This should give coverage of every function and macro in
list.h, as well as (combined with the KUnit tests for the hash
functions) get very close to having tests for the hashtable structure.

The tests here mirror the existing list tests, and are found in a new
suite titled 'hlist'.

Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
  • Loading branch information
David Gow authored and Shuah Khan committed Apr 5, 2022
1 parent b04d1a8 commit 1ff522b
Showing 1 changed file with 396 additions and 1 deletion.
Loading

0 comments on commit 1ff522b

Please sign in to comment.