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

Ján Tomko posted 4 patches 3 years, 6 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1600815811.git.jtomko@redhat.com
There is a newer version of this series
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(-)
[libvirt PATCH 0/4] tests: switch to g_new0 (glib chronicles)
Posted by Ján Tomko 3 years, 6 months ago
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