Skip to content

Commit

Permalink
devel/debug: cleanup before and after, CTRL-C being used too much
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Nov 13, 2024
1 parent b62c928 commit dc35366
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devel/debug/src/sbin/opnsense-atf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc35366

Please sign in to comment.