mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
devel/debug: another minor issue with test case handling
This commit is contained in:
parent
bff03eabf2
commit
726a450d9e
1 changed files with 5 additions and 0 deletions
|
|
@ -143,6 +143,11 @@ for TEST in ${TESTS}; do
|
|||
CASE=
|
||||
|
||||
if [ -n "${DO_DEBUG}" ]; then
|
||||
if [ -n "${TEST%%*:*}" ]; then
|
||||
echo "No test case given in debug mode, use '${TEST}:case'" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CASE=:${TEST##*:}
|
||||
TEST=${TEST%%:*}
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue