Allow running tests stand-alone

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-07 18:58:25 +01:00
parent 64c6866667
commit 4376def121
5 changed files with 14 additions and 3 deletions

View File

@ -1,6 +1,9 @@
#!/bin/sh
set -ex
. ${srcdir}/test.rc
if [ x"${srcdir}" = x ]; then
srcdir=.
fi
g. ${srcdir}/test.rc
export MSG="no-openlog-apitest"

View File

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

View File

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

View File

@ -1,9 +1,8 @@
#!/bin/sh
. ${srcdir}/test.rc
if [ x"${srcdir}" = x ]; then
srcdir=.
fi
. ${srcdir}/test.rc
mkdir -p ${CONFD}
cat <<EOF > ${CONF}

View File

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