mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-19 02:29:23 -05:00
devel/debug: cleanup before and after, CTRL-C being used too much
This commit is contained in:
parent
b62c92870c
commit
dc353664c7
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue