tests: Don't send \cA

Breaks the tests in screen.

Fixes #7111.
This commit is contained in:
Fabian Homborg 2020-06-17 15:51:10 +02:00
parent 547f649797
commit 00f7cdae62

View File

@ -24,8 +24,8 @@ sendline("exec $fish_key_reader -c")
expect_str("Press a key:") expect_str("Press a key:")
# Is a single control char echoed correctly? # Is a single control char echoed correctly?
send("\x01") send("\x07")
expect_str("char: \\cA\r\nbind \\cA 'do something'\r\n") 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? # Is a non-ASCII UTF-8 sequence prefaced by an escape char handled correctly?
sleep(0.020) sleep(0.020)