mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
devel/debug: another minor issue with test case handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user