Skip to content
Commit 39611e83 authored by Dan Williams's avatar Dan Williams
Browse files

tools/testing/nvdimm: Make DSM failure code injection an override



In order to emulate the behavior of the NVDIMM_FAMILY_INTEL DSMs
nfit_test needs the ability to execute the DSM and then override the
return code.

Split the current return code injection from get_dimm() and apply at
after the function has executed to override the return status.

Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 099b07a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment