[libvirt PATCH 0/4] tests: switch to g_new0 (glib chronicles)

Ján Tomko jtomko at redhat.com
Tue Sep 22 23:04:14 UTC 2020


With the exception of viralloctest.

Ján Tomko (4):
  tests: virNumaGetPages: use g_new0 instead of VIR_ALLOC_N
  tests: cpuTestLoadMultiXML: use g_new0 instead of VIR_ALLOC_N
  tests: use g_new0 instead of VIR_ALLOC_N
  tests: use g_new0 instead of VIR_ALLOC

 tests/commandtest.c              |  7 +++----
 tests/cputest.c                  |  4 +++-
 tests/domaincapstest.c           | 10 ++++------
 tests/fdstreamtest.c             | 10 ++++------
 tests/nodedevmdevctltest.c       | 16 +++++-----------
 tests/nwfilterxml2firewalltest.c |  3 +--
 tests/qemublocktest.c            |  9 +++------
 tests/qemuhotplugtest.c          |  3 +--
 tests/qemumonitorjsontest.c      | 12 ++++--------
 tests/qemumonitortestutils.c     | 22 ++++++----------------
 tests/qemusecuritymock.c         |  3 +--
 tests/qemuxml2argvtest.c         |  3 +--
 tests/securityselinuxhelper.c    |  3 +--
 tests/securityselinuxlabeltest.c |  3 +--
 tests/securityselinuxtest.c      |  6 ++----
 tests/testutils.c                |  8 ++------
 tests/testutilsqemu.c            |  6 ++----
 tests/vircgrouptest.c            |  3 +--
 tests/vircryptotest.c            |  5 ++---
 tests/virhostcputest.c           |  3 +--
 tests/virhostdevtest.c           |  3 +--
 tests/virnetdaemontest.c         |  3 +--
 tests/virnetmessagetest.c        | 15 ++++++---------
 tests/virnetserverclienttest.c   |  3 +--
 tests/virnetsockettest.c         |  6 +-----
 tests/virnettlshelpers.c         |  3 +--
 tests/virnumamock.c              | 16 +++-------------
 tests/virstringtest.c            |  8 +++-----
 tests/xlconfigtest.c             |  3 +--
 tests/xmconfigtest.c             |  3 +--
 30 files changed, 67 insertions(+), 135 deletions(-)

-- 
2.26.2




More information about the libvir-list mailing list