Fix potential nil ptr seg fault and CI test issue 99/3099/9 3.6.4
authorE. Scott Daniels <daniels@research.att.com>
Wed, 1 Apr 2020 16:39:47 +0000 (12:39 -0400)
committerE. Scott Daniels <daniels@research.att.com>
Wed, 1 Apr 2020 20:56:57 +0000 (16:56 -0400)
commit1739800d21456ddb0b0efbf92cb6d60c6f772feb
treef680377cf73415a9de11b449bb90f1f674a25e80
parent338fe5e46223df8145b53cdf52dab358f18c7f26
Fix potential nil ptr seg fault and CI test issue

This change corrects two problems that the "dockerless"
CI build process was encountering:
- Include and link paths set in the CMake config
  were not always honoured by the application test
  scripts

- Building packges to install in the test environment
  as a non-root user was causing non-standard install
  prefixes to be added to the packages.

This change also corrects a typo in the NNG module which
potentially could have allowed a nil pointer to be
dereferenced. This bug was discovered while makeing the
changes for the CI jobs.

Issue-ID: RIC-303

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I30150950dd186e72f8c822ec3fbe5b07369cb4ce
17 files changed:
CHANGES_CORE.txt
CMakeLists.txt
src/rmr/nng/src/rmr_nng.c
test/app_test/Makefile
test/app_test/rebuild.sh [moved from test/app_test/rebuild.ksh with 91% similarity]
test/app_test/run_all.ksh
test/app_test/run_all.sh [new file with mode: 0644]
test/app_test/run_app_test.sh [moved from test/app_test/run_app_test.ksh with 92% similarity]
test/app_test/run_call_test.sh [moved from test/app_test/run_call_test.ksh with 91% similarity]
test/app_test/run_exrts_test.sh [moved from test/app_test/run_exrts_test.ksh with 96% similarity]
test/app_test/run_lcall_test.sh [moved from test/app_test/run_lcall_test.ksh with 95% similarity]
test/app_test/run_multi_test.sh [moved from test/app_test/run_multi_test.ksh with 95% similarity]
test/app_test/run_rr_test.sh [moved from test/app_test/run_rr_test.ksh with 95% similarity]
test/app_test/run_rts_test.sh [moved from test/app_test/run_rts_test.ksh with 95% similarity]
test/run_app_tests.sh [moved from test/run_app_tests with 74% similarity]
test/run_unit_tests.sh [new file with mode: 0644]
test/unit_test.ksh