]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test: Make a common testNetworkObjFindByName
authorJohn Ferlan <jferlan@redhat.com>
Sat, 4 Mar 2017 14:34:53 +0000 (09:34 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 6 Mar 2017 12:16:33 +0000 (07:16 -0500)
commitcf98d4e1ae3b34a806f6c3a8a813636ceed6fd78
treee88f0f25e6acd2be245ba69155b881295db88f8b
parent865f479dabb195415c94786400a5f1472b8b3190
test: Make a common testNetworkObjFindByName

Rather than have multiple places using the same pattern to find
a network by name using virNetworkObjFindByName, create a common
helper which will provide a consistent error message as well.
src/test/test_driver.c