sysklogd/test/local.sh
Joachim Nilsson 4376def121 Allow running tests stand-alone
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-07 19:08:29 +01:00

12 lines
143 B
Bash
Executable File

#!/bin/sh
if [ x"${srcdir}" = x ]; then
srcdir=.
fi
. ${srcdir}/test.rc
MSG="foobar"
../src/logger -u ${SOCK} ${MSG}
grep ${MSG} ${LOG}