Skip to content

Commit 860893a

Browse files
committed
test: add tests for miscellaneous ioctl functions
Use the mock ioctl infrastructure to test the functions in ioctl.h that issue miscellaneous ioctl commands. Signed-off-by: Dennis Maisenbacher <[email protected]>
1 parent d0b0215 commit 860893a

2 files changed

Lines changed: 694 additions & 0 deletions

File tree

test/ioctl/meson.build

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,12 @@ zns = executable(
8383
)
8484

8585
test('zns', zns, env: mock_ioctl_env)
86+
87+
misc = executable(
88+
'test-misc',
89+
'misc.c',
90+
dependencies: libnvme_dep,
91+
link_with: mock_ioctl,
92+
)
93+
94+
test('misc', misc, env: mock_ioctl_env)

0 commit comments

Comments
 (0)