centos test fixes

This commit is contained in:
Olof Hagsand 2020-06-08 18:48:18 +00:00
parent 46738d4b37
commit 718f494549
2 changed files with 10 additions and 4 deletions

View file

@ -27,13 +27,19 @@ if [ ! -f $dir/usr/local/share/clixon/clixon-config* ]; then
err $dir/usr/local/share/clixon/clixon-config*
fi
new "Check installed files libclixon.so"
# Check both /usr/local/lib and /usr/lib
# This is a problem on some platforms that dont have /usr/local/ in LD_LIBRARY_PATH
if [ ! -h $dir/usr/local/lib/libclixon.so ]; then
if [ ! -h $dir/usr/lib/libclixon.so ]; then
err $dir/usr/local/lib/libclixon.so
fi
fi
new "Check installed files libclixon_backend.so"
if [ ! -h $dir/usr/local/lib/libclixon_backend.so ]; then
if [ ! -h $dir/usr/lib/libclixon_backend.so ]; then
err $dir/usr/local/lib/libclixon_backend.so
fi
fi
new "Make DESTDIR install include"
(cd ..; $make DESTDIR=$dir install-include)

View file

@ -10,8 +10,8 @@
# Magic line must be first in script (see README.md)
s="$_" ; . ./lib.sh || if [ "$s" = $0 ]; then exit 0; else return 0; fi
# Raw unit tester of backend unix socket
: ${clixon_util_socket:=clixon_util_socket}
# Raw unit tester of backend unix socket.
: ${clixon_util_socket:=$(which clixon_util_socket)}
APPNAME=example