2019-12-01 21:12:02 +01:00
|
|
|
#!/bin/sh -e
|
|
|
|
# Test '-- MARK --' in log, depends on fwd.sh
|
2021-11-22 11:22:04 +01:00
|
|
|
if [ x"${srcdir}" = x ]; then
|
|
|
|
srcdir=.
|
|
|
|
fi
|
2021-11-22 15:16:05 +01:00
|
|
|
. ${srcdir}/lib.sh
|
|
|
|
setup
|
2019-12-01 21:12:02 +01:00
|
|
|
|
2021-11-22 04:59:23 +01:00
|
|
|
check_mark()
|
|
|
|
{
|
|
|
|
grep "MARK" "${LOG}" && return 0
|
|
|
|
sleep 1
|
|
|
|
return 1
|
|
|
|
}
|
2019-12-01 21:12:02 +01:00
|
|
|
|
2021-11-22 15:16:05 +01:00
|
|
|
tenacious 120 check_mark && OK
|
|
|
|
FAIL "Missing MARK in log"
|