summaryrefslogtreecommitdiffstats
path: root/test/mi.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/mi.c')
-rw-r--r--test/mi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mi.c b/test/mi.c
index a09c108..a86ba15 100644
--- a/test/mi.c
+++ b/test/mi.c
@@ -306,7 +306,7 @@ static void test_invalid_crc(nvme_mi_ep_t ep)
test_set_transport_callback(ep, test_invalid_crc_cb, NULL);
rc = nvme_mi_mi_read_mi_data_subsys(ep, &ss_info);
- assert(rc != 0);
+ assert(rc < 0);
}
/* test: test that the controller list populates the endpoint's list of