From 9f8d854c2afbc3f2e6f8f1f2258fba9db563113d Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Mon, 19 Dec 2016 17:44:54 -0800 Subject: [PATCH] fix race condition in fkr test --- tests/fkr.expect | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/fkr.expect b/tests/fkr.expect index 130888fbc..963cba0ed 100644 --- a/tests/fkr.expect +++ b/tests/fkr.expect @@ -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? -send "\x03\x04" +send "\x03" +sleep 0.010 +send "\x04" expect -ex "char: \\cD\r\n" { puts "invalid terminate sequence handled" } unmatched {