diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 3dfe3058f830282e1f746ba56dd4fb4b9943e887..b3e24b45143acd2f0f0ed6980ef7a56e5ee6f86c 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -4082,7 +4082,7 @@ testStorageFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED, break; default: - testError(VIR_ERR_OPERATION_INVALID, + testError(VIR_ERR_NO_SUPPORT, _("pool type '%s' does not support source discovery"), type); }