sysklogd/test/mark.sh
Joachim Wiberg 523926a07d test: initial refactor to support running in parallel in an unshare
The release suite fails with no permissions to dump loopback, so let's
run tests in an unshare, one per test, with and start as many syslogd as
needed for each test -- also easier to debug since all are then fully
stand-alone.

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

15 lines
191 B
Bash
Executable File

#!/bin/sh -e
# Test '-- MARK --' in log, depends on fwd.sh
. ./start.sh
check_mark()
{
grep "MARK" "${LOG}" && return 0
sleep 1
return 1
}
tenacious 120 check_mark
. ./stop.sh