mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-22 06:02:33 +00:00
kunit: Test event import, delivery and timeout accounting
Move the existing client layout into a private header and link separate suites with shared fixtures. Add task-scoped usercopy and allocation boundaries around the actual ioctl and timeout paths. Use private clients without scheduling work or accessing userspace memory. Preserve payload validation and counter behavior; the delivered-timeout assertion exposes the existing double decrement. Include the private event headers needed by ordinary in-tree builds in generated kernel patches.
This commit is contained in:
@@ -309,8 +309,9 @@ scst_03_public_headers="scst/include/scst.h scst/include/scst_const.h \
|
||||
scst/include/scst_event.h scst/include/backport.h"
|
||||
scst_04_main="scst/src/scst_main.c scst/src/scst_priv.h \
|
||||
scst/src/scst_copy_mgr.c scst/src/scst_dlm.c scst/src/scst_dlm.h \
|
||||
scst/src/scst_event.c scst/src/scst_no_dlm.c \
|
||||
scst/src/scst_test.h"
|
||||
scst/src/scst_event.c scst/src/scst_event_priv.h scst/src/scst_no_dlm.c \
|
||||
scst/src/scst_test.h \
|
||||
scst/src/scst_event_test.h"
|
||||
scst_05_targ="scst/src/scst_targ.c scst/src/scst_local_cmd.c \
|
||||
scst/src/scst_local_cmd.h \
|
||||
scst/src/scst_targ_test.h"
|
||||
|
||||
Reference in New Issue
Block a user