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