diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-06-04 12:22:03 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2022-06-04 12:22:03 +0800 |
commit | 906b0b2e873d216881bb146c3353e76f1da132c2 (patch) | |
tree | f0288b8fc0836c72d3d9c1dde46079b15ba38d8f /nixos/tests/uptermd.nix | |
parent | 9d2a8e31902241842c290bd82de9df82ad2d91a8 (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.nix | 2 |
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") |