fix race condition in fkr test

This commit is contained in:
Kurtis Rader 2016-12-19 17:44:54 -08:00
parent 40fa0d5c83
commit 9f8d854c2a

View file

@ -38,7 +38,9 @@ expect -ex "char: \\c@\r\nbind \\c@ 'do something'\r\n" {
} }
# Does it keep running if handed control sequences in the wrong order? # Does it keep running if handed control sequences in the wrong order?
send "\x03\x04" send "\x03"
sleep 0.010
send "\x04"
expect -ex "char: \\cD\r\n" { expect -ex "char: \\cD\r\n" {
puts "invalid terminate sequence handled" puts "invalid terminate sequence handled"
} unmatched { } unmatched {