diff options
| author | 2024-09-10 12:08:18 +0800 | |
|---|---|---|
| committer | 2024-09-17 01:11:20 -0700 | |
| commit | 5e06e08939df1cafef97a8e04f4b88c2806b538a (patch) | |
| tree | 10096ffb64f32444930c64c0e37912b3f44468b9 /rust/helpers/pid_namespace.c | |
| parent | list: test: fix tests for list_cut_position() (diff) | |
| download | wireguard-linux-5e06e08939df1cafef97a8e04f4b88c2806b538a.tar.xz wireguard-linux-5e06e08939df1cafef97a8e04f4b88c2806b538a.zip | |
list: test: increase coverage of list_test_list_replace*()
Increase the test coverage of list_test_list_replace*() by adding the
checks to compare the pointer of "a_new.next" and "a_new.prev" to make
sure a perfect circular doubly linked list is formed after the
replacement.
Link: https://lkml.kernel.org/r/20240910040818.65723-1-richard120310@gmail.com
Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
Cc: David Gow <davidgow@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/helpers/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions
