From 906b0b2e873d216881bb146c3353e76f1da132c2 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 4 Jun 2022 12:22:03 +0800 Subject: nixos/tests: fix all tests that uses wait_until_tty_matches --- nixos/tests/uptermd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/tests/uptermd.nix') diff --git a/nixos/tests/uptermd.nix b/nixos/tests/uptermd.nix index d504ef0641916..429e3c9dd5ff3 100644 --- a/nixos/tests/uptermd.nix +++ b/nixos/tests/uptermd.nix @@ -42,7 +42,7 @@ in client1.wait_for_unit("multi-user.target") client1.wait_until_succeeds("pgrep -f 'agetty.*tty1'") - client1.wait_until_tty_matches(1, "login: ") + client1.wait_until_tty_matches("1", "login: ") client1.send_chars("root\n") client1.wait_until_succeeds("pgrep -u root bash") -- cgit 1.4.1