sysklogd/test/stop.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

20 lines
277 B
Bash
Executable File

#!/bin/sh
if [ x"${srcdir}" = x ]; then
srcdir=.
fi
. ${srcdir}/test.rc
if [ -e ${PID} ]; then
echo "Killing `cat ${PID}` ..."
kill `cat ${PID}`
fi
rm -f ${LOG}
rm -f ${LOGV1}
rm -f ${LOGCONS}
rm -f ${PID}
rm -f ${CAP}
rm -f ${SOCK}
rm -f ${CONF}
rm -rf ${CONFD}