Skip to content

Conversation

@MaisenbacherD
Copy link
Contributor

This PR adds tests for log functions defined in ioctl.h and adds the missing tests for the identify functions defined in ioctl.h.

Tests for nvme_identify_ns_csi_user_data_format() and
nvme_identify_iocs_ns_csi_user_data_format() were previously omitted.

Those identify commands are specified in the command set specification.

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
Use the mock ioctl infrastructure to test the functions in ioctl.h that
issue log commands.

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
@igaw igaw merged commit bf923b3 into linux-nvme:master Jun 3, 2025
12 checks passed
@igaw
Copy link
Collaborator

igaw commented Jun 3, 2025

Nice! Thanks a lot!

@calebsander
Copy link
Contributor

These look great! Glad the mock ioctl infrastructure is useful.

@MaisenbacherD MaisenbacherD deleted the api-tests branch July 1, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants