about summary refs log tree commit diff
path: root/nixos/tests/uptermd.nix
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-06-04 12:22:03 +0800
committerBobby Rong <rjl931189261@126.com>2022-06-04 12:22:03 +0800
commit906b0b2e873d216881bb146c3353e76f1da132c2 (patch)
treef0288b8fc0836c72d3d9c1dde46079b15ba38d8f /nixos/tests/uptermd.nix
parent9d2a8e31902241842c290bd82de9df82ad2d91a8 (diff)
nixos/tests: fix all tests that uses wait_until_tty_matches
Diffstat (limited to 'nixos/tests/uptermd.nix')
-rw-r--r--nixos/tests/uptermd.nix2
1 files changed, 1 insertions, 1 deletions
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")