[libvirt] [PATCH v2 22/32] tests: Use VIR_AUTOFREE for various storage tests
Ján Tomko
jtomko at redhat.com
Mon Feb 11 13:39:30 UTC 2019
On Fri, Feb 08, 2019 at 01:37:16PM -0500, John Ferlan wrote:
>Let's make use of the auto __cleanup capabilities cleaning up any
>now unnecessary goto paths.
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>Reviewed-by: Erik Skultety <eskultet at redhat.com>
>---
> tests/storagebackendsheepdogtest.c | 50 ++++++++++++------------------
> tests/storagepoolxml2argvtest.c | 18 +++--------
> tests/storagepoolxml2xmltest.c | 33 ++++++--------------
> tests/storagevolxml2argvtest.c | 42 +++++++++----------------
> tests/storagevolxml2xmltest.c | 38 +++++++----------------
> tests/virstoragetest.c | 45 +++++++--------------------
> tests/virstorageutiltest.c | 7 ++---
> 7 files changed, 75 insertions(+), 158 deletions(-)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190211/64b1b2b3/attachment-0001.sig>
More information about the libvir-list
mailing list