Do not link test process to libprocps
authorCraig Small <csmall@enc.com.au>
Sat, 13 Jun 2015 22:54:59 +0000 (08:54 +1000)
committerCraig Small <csmall@enc.com.au>
Sat, 13 Jun 2015 22:54:59 +0000 (08:54 +1000)
The test process introduced at 420cd9c7 incorrectly linked to
libprocps which made the CI runner fail.

Makefile.am
testsuite/config/unix.exp

index f5b2325b66968145205cb248da42bea6c154b8ce..8c5b9df5cebc13e80e8730bfd3574dc23f33fd5b 100644 (file)
@@ -229,6 +229,8 @@ lib_test_fileutils_SOURCES = lib/test_fileutils.c lib/fileutils.c
 lib_test_fileutils_LDADD =
 lib_test_nsutils_SOURCES = lib/test_nsutils.c lib/nsutils.c
 lib_test_nsutils_LDADD =
+lib_test_process_SOURCES = lib/test_process.c
+lib_test_process_LDADD =
 
 if EXAMPLE_FILES
 sysconf_DATA = sysctl.conf
index 566fc7df6f779e5eecfcea60c5c3db2fdbc99e08..bbee23335e8d4392b87022d2d0d933dc6161b5b3 100644 (file)
@@ -120,7 +120,7 @@ proc expect_table_dsc { test match_header match_item } {
 proc make_testproc { } {
     global testproc_path testproc_comm testproc1_pid testproc2_pid topdir
 
-    set testproc_realpath "${topdir}/lib/.libs/test_process"
+    set testproc_realpath "${topdir}/lib/test_process"
     set testproc_comm "spcorp"
 
     set testproc_path [ exec mktemp -u ]