diff options
| author | ChenXiaoSong <chenxiaosong@kylinos.cn> | 2026-01-18 17:13:13 +0800 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-02-08 21:24:41 -0600 |
| commit | 480afcb19b61385dfe64840d87c355293a5fa698 (patch) | |
| tree | bd4eee057a12ae063326612d3a64086872112c2d /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 75563adbb91d9d199b33f8b9a2fe4e9cafea6a69 (diff) | |
smb/client: introduce KUnit test to check search result of smb2_error_map_table
The KUnit test are executed when cifs.ko is loaded.
Just like `fs/ext4/mballoc.c` includes `fs/ext4/mballoc-test.c`.
`smb2maperror.c` also includes `smb2maperror_test.c`, allowing KUnit
tests to access any functions and variables in `smb2maperror.c`.
The maperror_test_check_search() checks whether all elements can be
correctly found in the array.
Suggested-by: David Howells <dhowells@redhat.com>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
