]> xenbits.xensource.com Git - libvirt.git/commitdiff
test: Cleanup improper VIR_ERR_NO_SUPPORT use
authorOsier Yang <jyang@redhat.com>
Tue, 23 Aug 2011 08:32:06 +0000 (16:32 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 23 Aug 2011 08:32:06 +0000 (16:32 +0800)
src/test/test_driver.c

index b3e24b45143acd2f0f0ed6980ef7a56e5ee6f86c..3dfe3058f830282e1f746ba56dd4fb4b9943e887 100644 (file)
@@ -4082,7 +4082,7 @@ testStorageFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED,
         break;
 
     default:
-        testError(VIR_ERR_NO_SUPPORT,
+        testError(VIR_ERR_OPERATION_INVALID,
                   _("pool type '%s' does not support source discovery"), type);
     }