[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCHv3 0/3] sysinfo: s390 bug fix and tests



Primarily this fixes a memory issue in virSysinfoRead on s390.
As a side effect it became necessary to work around a GCC
bug.
Finally I have followed Daniel Berrange's suggestion to provide
tests for sysinfo.

V2:
 Turned single patch into series
V3:
 Fixed -Werror induced build break with current GCC

Viktor Mihajlovski (3):
  build: Check for broken GCC -Wlogical-op in configure
  S390: Fix virSysinfoRead memory corruption
  tests: Add tests for sysinfo

 cfg.mk                               |    2 +-
 configure.ac                         |   23 ++++
 src/libvirt_private.syms             |    1 +
 src/util/sysinfo.c                   |  195 +++++++++++++++++----------------
 tests/Makefile.am                    |    6 +
 tests/sysinfodata/dmidecode.sh       |    3 +
 tests/sysinfodata/s390cpuinfo.data   |   12 ++
 tests/sysinfodata/s390sysinfo.data   |  114 +++++++++++++++++++
 tests/sysinfodata/s390sysinfo.expect |   25 +++++
 tests/sysinfodata/x86sysinfo.data    |   83 ++++++++++++++
 tests/sysinfodata/x86sysinfo.expect  |   53 +++++++++
 tests/sysinfotest.c                  |  200 ++++++++++++++++++++++++++++++++++
 12 files changed, 622 insertions(+), 95 deletions(-)
 create mode 100755 tests/sysinfodata/dmidecode.sh
 create mode 100644 tests/sysinfodata/s390cpuinfo.data
 create mode 100644 tests/sysinfodata/s390sysinfo.data
 create mode 100644 tests/sysinfodata/s390sysinfo.expect
 create mode 100644 tests/sysinfodata/x86sysinfo.data
 create mode 100644 tests/sysinfodata/x86sysinfo.expect
 create mode 100644 tests/sysinfotest.c

-- 
1.7.9.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]