From 00f7cdae62c79e08cfbafd6b19f9e8f45bf551b1 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 17 Jun 2020 15:51:10 +0200 Subject: [PATCH] tests: Don't send \cA Breaks the tests in screen. Fixes #7111. --- tests/pexpects/fkr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pexpects/fkr.py b/tests/pexpects/fkr.py index 2bafc095f..1c5ebe513 100644 --- a/tests/pexpects/fkr.py +++ b/tests/pexpects/fkr.py @@ -24,8 +24,8 @@ sendline("exec $fish_key_reader -c") expect_str("Press a key:") # Is a single control char echoed correctly? -send("\x01") -expect_str("char: \\cA\r\nbind \\cA 'do something'\r\n") +send("\x07") +expect_str("char: \\cG (or \\a)\r\nbind \\a 'do something'\r\n") # Is a non-ASCII UTF-8 sequence prefaced by an escape char handled correctly? sleep(0.020)