sysklogd/test/mark.sh
Joachim Wiberg 2d95e0ccf0 test: fix search path for scripts
Fails when building in a sub-directory

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-11-22 11:22:04 +01:00

18 lines
245 B
Bash
Executable File

#!/bin/sh -e
# Test '-- MARK --' in log, depends on fwd.sh
if [ x"${srcdir}" = x ]; then
srcdir=.
fi
. ${srcdir}/start.sh
check_mark()
{
grep "MARK" "${LOG}" && return 0
sleep 1
return 1
}
tenacious 120 check_mark
. ./stop.sh