tests/login/*.exp turn on the conservative mode
In modified files [0] we can find a note that the Expect script is time-sensitive when combined with number of programs (e.g. ksh), and to discard or ignore keystrokes that come "too fast" after prompts after prompts. The solution is to use the conservative mode. [0]: https://src.fedoraproject.org/tests/shell/blob/main/f/tests/login/ssh.exp
This commit is contained in:
parent
4ae8c70b07
commit
50c3a1ba7f
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@
|
|||
# this in the first place. The -C flag allows you to define a
|
||||
# character to toggle this mode off and on.
|
||||
|
||||
set force_conservative 0 ;# set to 1 to force conservative mode even if
|
||||
set force_conservative 1 ;# set to 1 to force conservative mode even if
|
||||
;# script wasn't run conservatively originally
|
||||
if {$force_conservative} {
|
||||
set send_slow {1 .1}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# this in the first place. The -C flag allows you to define a
|
||||
# character to toggle this mode off and on.
|
||||
|
||||
set force_conservative 0 ;# set to 1 to force conservative mode even if
|
||||
set force_conservative 1 ;# set to 1 to force conservative mode even if
|
||||
;# script wasn't run conservatively originally
|
||||
if {$force_conservative} {
|
||||
set send_slow {1 .1}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue