Skip to content

Commit

Permalink
checks: fix: make send_chars test wait until login completes
Browse files Browse the repository at this point in the history
  • Loading branch information
VTimofeenko committed Sep 16, 2024
1 parent 35fb5e0 commit 4b70d92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions checks/xremap-no-features-root-test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
start_all()
machine.wait_for_unit("xremap.service")
machine.sleep(2)
# Wait for login -- this test runs against tty
machine.wait_until_tty_matches("1", "login: ")
machine.send_chars(f"echo -n 'z' > {output_file}\n")
machine.sleep(2)
Expand Down

0 comments on commit 4b70d92

Please sign in to comment.