]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test: Make common test*ObjFindByUUID helpers
authorJohn Ferlan <jferlan@redhat.com>
Sat, 4 Mar 2017 14:48:11 +0000 (09:48 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 6 Mar 2017 12:16:33 +0000 (07:16 -0500)
commit39df53b901e8cd0b8c79004b0d433bfbf8feb2d3
treea521abb711ecb5663583b89ccee2f549f1d741e7
parentcf98d4e1ae3b34a806f6c3a8a813636ceed6fd78
test: Make common test*ObjFindByUUID helpers

Make common helpers testNetworkObjFindByUUID and testStoragePoolObjFindByUUID
which will replace the repeated patter for each to find objects by UUID.

As a bonus, the error message processing will also provide the failed uuidstr
rather than a generic error message.
src/test/test_driver.c