Skip to content

test: expand HSM suspend service coverage#93

Merged
avpatel merged 1 commit into
mainfrom
stack/slingapp_tests2/pr-3-hsm-suspend-tests
Jun 18, 2026
Merged

test: expand HSM suspend service coverage#93
avpatel merged 1 commit into
mainfrom
stack/slingapp_tests2/pr-3-hsm-suspend-tests

Conversation

@slingappa

@slingappa slingappa commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

This PR expands HSM suspend service coverage.

Stack

Depends on: PR-2

Changes

  • Extend existing HSM coverage for:
    • Suspend type listing when no suspend types are configured
    • Invalid suspend-info requests
    • Invalid and unsupported suspend requests

Validation

  • make LIBRPMI_TEST=y CROSS_COMPILE= && make check CROSS_COMPILE=

Add coverage for HSM_GET_SUSPEND_TYPES with no configured suspend
types, HSM_GET_SUSPEND_INFO for an invalid type, and HSM_HART_SUSPEND
with a full invalid-type request.

These cases cover previously untested HSM service IDs and distinguish a
malformed short suspend request from a valid-length request with an
invalid suspend type.

Signed-off-by: Subrahmanya Lingappa <subrahmanya.lingappa@qti.qualcomm.com>
@slingappa slingappa force-pushed the stack/slingapp_tests2/pr-3-hsm-suspend-tests branch from 5fb469d to a3689ad Compare June 18, 2026 17:20
@avpatel

avpatel commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Looks good to me.

@avpatel avpatel merged commit ed6d927 into main Jun 18, 2026
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.

2 participants