Initial test framework: make check

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2019-10-29 11:08:23 +01:00
parent ec9c92987f
commit b67d57cf59
9 changed files with 47 additions and 5 deletions

15
test/start.sh Executable file
View File

@ -0,0 +1,15 @@
#!/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