[Open-scap] [PATCH 00/11] Patches to get automated tests working on Solaris

Marshall Miller mmiller at tresys.com
Wed May 11 19:31:19 UTC 2011


This set of patches allows the make check target to work on Solaris.

Francisco Slavin (7):
  Stopping use of 'sed -i' in test scripts
  Stopping use of 'grep -q' in test scripts
  Switching strsep use to oscap_strsep
  Reworking test orchestration
  Remove use of multiplicative suffix M in dd commands.
  Tests API automake restructuring
  Moving xinetd probe test

Marshall Miller (4):
  Added implementation of getline for use on Solaris
  Removed space between -F option and argument in awk
  Zero memory when new cve_model is created
  Protect against passing NULL pointers to printf

 configure.ac                                       |   14 ++++
 src/CVE/cve_priv.c                                 |    3 +
 src/OVAL/probes/Makefile.am                        |    3 +-
 src/OVAL/probes/independent/sql.c                  |    2 +-
 src/OVAL/probes/independent/sql57.c                |    2 +-
 src/OVAL/probes/unix/xinetd.c                      |   11 ++--
 tests/API/CPE/lang/test_api_cpe_lang.sh            |    2 +-
 tests/API/CPE/uri/test_api_cpe_uri.c               |   12 ++--
 tests/API/CPE/uri/test_api_cpe_uri.sh              |   18 +++---
 tests/API/Makefile.am                              |   44 ++++++++++--
 tests/API/SEAP/test_api_seap_parser.c              |   53 ++++++++++++++
 tests/API/crypt/test_api_crypt.sh                  |    4 +-
 tests/API/probes/Makefile.am                       |   15 +----
 tests/API/probes/test_api_probes.sh                |   47 -------------
 tests/API/probes/test_api_probes_xinetd.c          |   73 --------------------
 tests/API/probes/xinetd_A.conf                     |   50 -------------
 tests/API/probes/xinetd_B.conf                     |   17 -----
 tests/API/probes/xinetd_C.conf                     |   18 -----
 tests/API/probes/xinetd_D.conf                     |   22 ------
 tests/API/probes/xinetd_E.conf                     |   20 ------
 tests/API/probes/xinetd_F.conf                     |   27 -------
 tests/Makefile.am                                  |    6 ++-
 tests/probes/Makefile.am                           |   34 +++++----
 .../test_probes_environmentvariable.sh             |    6 --
 tests/probes/sysinfo/test_probes_sysinfo.sh        |    8 +-
 tests/probes/vgtest/test_probes_vg.sh              |    5 --
 tests/probes/xinetd/Makefile.am                    |   36 ++++++++++
 tests/probes/xinetd/test_probe_xinetd.c            |   73 ++++++++++++++++++++
 tests/probes/xinetd/test_xinetd_probe.sh           |   71 +++++++++++++++++++
 tests/probes/xinetd/xinetd_A.conf                  |   50 +++++++++++++
 tests/probes/xinetd/xinetd_B.conf                  |   17 +++++
 tests/probes/xinetd/xinetd_C.conf                  |   18 +++++
 tests/probes/xinetd/xinetd_D.conf                  |   22 ++++++
 tests/probes/xinetd/xinetd_E.conf                  |   20 ++++++
 tests/probes/xinetd/xinetd_F.conf                  |   27 +++++++
 35 files changed, 498 insertions(+), 352 deletions(-)
 delete mode 100644 tests/API/probes/test_api_probes_xinetd.c
 delete mode 100644 tests/API/probes/xinetd_A.conf
 delete mode 100644 tests/API/probes/xinetd_B.conf
 delete mode 100644 tests/API/probes/xinetd_C.conf
 delete mode 100644 tests/API/probes/xinetd_D.conf
 delete mode 100644 tests/API/probes/xinetd_E.conf
 delete mode 100644 tests/API/probes/xinetd_F.conf
 create mode 100644 tests/probes/xinetd/Makefile.am
 create mode 100644 tests/probes/xinetd/test_probe_xinetd.c
 create mode 100755 tests/probes/xinetd/test_xinetd_probe.sh
 create mode 100644 tests/probes/xinetd/xinetd_A.conf
 create mode 100644 tests/probes/xinetd/xinetd_B.conf
 create mode 100644 tests/probes/xinetd/xinetd_C.conf
 create mode 100644 tests/probes/xinetd/xinetd_D.conf
 create mode 100644 tests/probes/xinetd/xinetd_E.conf
 create mode 100644 tests/probes/xinetd/xinetd_F.conf





More information about the Open-scap-list mailing list