sysklogd/test/start.sh
Joachim Nilsson b67d57cf59 Initial test framework: make check
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-10-29 13:58:56 +01:00

16 lines
186 B
Bash
Executable File

#!/bin/sh
. ./test.rc
if [ x"${srcdir}" = x ]; then
srcdir=.
fi
cat <<EOF > ${CFG}
*.* -${LOG}
*.* @192.168.1.1
EOF
../src/syslogd -d -n -f ${CFG} -p ${SCK} -P ${PID} &
sleep 1