tests: fix escaping of wait command

This commit is contained in:
Robert Helgesson 2024-08-14 18:07:46 +02:00
parent 40ddec2f8a
commit 25c12f0736
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@
machine.send_chars("alice\n")
machine.wait_until_tty_matches("1", "Password: ")
machine.send_chars("foobar\n")
machine.wait_until_tty_matches("1", "alice\@machine")
machine.wait_until_tty_matches("1", "alice\\@machine")
def logout_alice():
machine.send_chars("exit\n")

View file

@ -32,7 +32,7 @@
machine.send_chars("alice\n")
machine.wait_until_tty_matches("1", "Password: ")
machine.send_chars("foobar\n")
machine.wait_until_tty_matches("1", "alice\@machine")
machine.wait_until_tty_matches("1", "alice\\@machine")
def logout_alice():
machine.send_chars("exit\n")

View file

@ -27,7 +27,7 @@
machine.send_chars("alice\n")
machine.wait_until_tty_matches("1", "Password: ")
machine.send_chars("foobar\n")
machine.wait_until_tty_matches("1", "alice\@machine")
machine.wait_until_tty_matches("1", "alice\\@machine")
def logout_alice():
machine.send_chars("exit\n")