Skip to content

Commit a232aa6

Browse files
committed
tests/NIT/nit.sh: do not unset DEBUG_SLEEP when we generate configs [networkupstools#1711]
We might actually want more of those, with test case passwords revealed, etc. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 84c25e0 commit a232aa6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/NIT/nit.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3141,7 +3141,9 @@ case "${NIT_CASE}" in
31413141
FAILED="`expr $FAILED + 1`"
31423142
FAILED_FUNCS="$FAILED_FUNCS $NIT_CASE"
31433143
fi
3144-
unset DEBUG_SLEEP
3144+
case "${NIT_CASE}" in
3145+
is*) unset DEBUG_SLEEP ;;
3146+
esac
31453147
;;
31463148
"") # Default test groups:
31473149
testgroup_upsd_invalid_configs

0 commit comments

Comments
 (0)