Fix paths for out-of-tree builds, found by make distcheck

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-04 20:09:54 +01:00
parent e202196152
commit 512aaa1afc
6 changed files with 7 additions and 7 deletions

View File

@ -5,9 +5,9 @@ TEST_EXTENSIONS = .sh
check_PROGRAMS = api
api_SOURCES = api.c
api_CFLAGS = -I../src
api_CFLAGS = -I$(srcdir)/../src
api_LDFLAGS = -static
api_LDADD = -L../src ../src/libsyslog.la
api_LDADD = ../src/libsyslog.la
TESTS = start.sh
TESTS += local.sh

View File

@ -1,6 +1,6 @@
#!/bin/sh
set -e
. ./test.rc
. ${srcdir}/test.rc
export MSG="no-openlog-apitest"

View File

@ -1,5 +1,5 @@
#!/bin/sh
. ./test.rc
. ${srcdir}/test.rc
MSG="foobar"

View File

@ -1,6 +1,6 @@
#!/bin/sh
set -ex
. ./test.rc
. ${srcdir}/test.rc
MSG="kilroy"

View File

@ -1,5 +1,5 @@
#!/bin/sh
. ./test.rc
. ${srcdir}/test.rc
if [ x"${srcdir}" = x ]; then
srcdir=.

View File

@ -1,5 +1,5 @@
#!/bin/sh
. ./test.rc
. ${srcdir}/test.rc
if [ -e ${PID} ]; then
echo "Killing `cat ${PID}` ..."