devel/debug: cleanup before and after, CTRL-C being used too much

This commit is contained in:
Franco Fichtner 2024-11-13 15:04:37 +01:00
parent b62c92870c
commit dc353664c7

View file

@ -95,6 +95,9 @@ run()
if [ -n "${TESTCASE}" -a "${TESTCASE}" != "${CASE}" ]; then
continue
fi
if [ -n "${CLEANUP}" ]; then
${ATFCMD} ${TEST} ${CASE}:cleanup > /dev/null 2>&1
fi
RESULT=$( (${ATFCMD} ${TEST} ${CASE} 2>&1) | grep ${PATTERNS})
if [ -n "${CLEANUP}" ]; then
${ATFCMD} ${TEST} ${CASE}:cleanup > /dev/null 2>&1