]> xenbits.xensource.com Git - libvirt.git/commit
test: Add helpers to fetch active/inactive storage pool by name
authorJohn Ferlan <jferlan@redhat.com>
Fri, 5 May 2017 21:02:01 +0000 (17:02 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 21 Jul 2017 18:51:47 +0000 (14:51 -0400)
commit0e183562718fafc80219f82ab6d913dbd2465c7a
tree9a5c53a6f320caac0e52f3594664997d6bc0d9eb
parentb5e0fa41e2ee9e277adfdd3127840a626f7dd672
test: Add helpers to fetch active/inactive storage pool by name

Rather than have repetitive code - create/use a couple of helpers:

    testStoragePoolObjFindActiveByName
    testStoragePoolObjFindInactiveByName

This will also allow for the reduction of some cleanup path logic.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/test/test_driver.c