You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow to pass value starting with '-' on config subcmd
Allow to pass configuration option value starting with minus sign (-) on
config sub-command. Was previously mistaken with command-line switches.
This change allows to subtract a value to a configuration option already
set.
set tserr [if_configlocked $param [err_conflocked $param] "$error_msgs: Invalid value for configuration option '$param'\n Value should be an integer comprised between $lowerbound and $upperbound"]
280
-
testouterr_cmd_re sh "config $param -10" ERR "$error_msgs: Invalid option '-10'\n$err_typehelp"
280
+
testouterr_cmd_re sh "config $param -10" ERR $tserr
281
281
testouterr_cmd_re sh "config $param [expr {$upperbound + 10}]" ERR $tserr
282
282
testouterr_cmd_re sh "config $param foo" ERR $tserr
0 commit comments