diff mbox series

[ndctl] ndctl/test: add dax_pmem* modules to the test-core

Message ID 20190319010618.26207-1-vishal.l.verma@intel.com (mailing list archive)
State Accepted
Commit b8f622299b1cdefe213f8ee2f9f17936aee7cf62
Headers show
Series [ndctl] ndctl/test: add dax_pmem* modules to the test-core | expand

Commit Message

Verma, Vishal L March 19, 2019, 1:06 a.m. UTC
Add a check for the nfit_test overridden modules for dax_pmem,
dax_pmem_core, and dax_pmem_compat to the test core to ensure that the
regular production versions aren't the ones being used.

Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
 test/core.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/test/core.c b/test/core.c
index 4b36b2d..b9e3bbf 100644
--- a/test/core.c
+++ b/test/core.c
@@ -129,6 +129,8 @@  int nfit_test_init(struct kmod_ctx **ctx, struct kmod_module **mod,
 		"nfit",
 		"device_dax",
 		"dax_pmem",
+		"dax_pmem_core",
+		"dax_pmem_compat",
 		"libnvdimm",
 		"nd_blk",
 		"nd_btt",