[PATCH 0/5] virsysinfo: Be more forgiving when decoding OEM strings

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

 



See 4/5 for explanation.

Michal Prívozník (5):
  vircommand: Initialize dryRunStatus to portable EXIT_SUCCESS instead
    of 0
  virsysinfo: Trim newline when decoding OEM strings
  tests: Add HPE Apollo test case to sysinfotest
  virsysinfo: Be more forgiving when decoding OEM strings
  virsysinfo: Calculate OEM string index better

 src/util/vircommand.c                         |   2 +-
 src/util/virsysinfo.c                         |  36 +++-
 .../aarch64-hpe-apollosysinfo.data            | 162 ++++++++++++++++++
 .../aarch64-hpe-apollosysinfo.expect          |  88 ++++++++++
 tests/sysinfotest.c                           |   9 +-
 5 files changed, 285 insertions(+), 12 deletions(-)
 create mode 100644 tests/sysinfodata/aarch64-hpe-apollosysinfo.data
 create mode 100644 tests/sysinfodata/aarch64-hpe-apollosysinfo.expect

-- 
2.44.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux