Commit 8a24e711 authored by Maciej Szwed's avatar Maciej Szwed Committed by Changpeng Liu
Browse files

test/nvme: Don't fail test for NVMe with no namespaces

parent 6b654ab9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ register_ctrlr(struct spdk_nvme_ctrlr *ctrlr)
	/* Only register the first namespace. */
	if (num_ns < 1) {
		fprintf(stderr, "controller found with no namespaces\n");
		exit(1);
		return;
	}

	register_ns(ctrlr, spdk_nvme_ctrlr_get_ns(ctrlr, 1));