about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-04-21 20:41:19 +0300
committerGitHub <noreply@github.com>2023-04-21 20:41:19 +0300
commit89d59988a72a14e190280ef7f33c2c749bad37b0 (patch)
treeea03894c771b1c4acb8f9fb9e4792149ba5bbdf1 /nixos/tests
parenta7e41cdde3d7b9b5147393cec7953e5ed666a830 (diff)
parent03e737930cf592de66e5c4ce0d436c17c4b12ed3 (diff)
Merge pull request #227445 from fgaz/ft2-clone/1.66
ft2-clone: 1.65 -> 1.66, fix nixos test
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/ft2-clone.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/tests/ft2-clone.nix b/nixos/tests/ft2-clone.nix
index 3c90b3d3fa201..a8395d4ebaa62 100644
--- a/nixos/tests/ft2-clone.nix
+++ b/nixos/tests/ft2-clone.nix
@@ -26,9 +26,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
 
       machine.wait_for_window(r"Fasttracker")
       machine.sleep(5)
-      # One of the few words that actually get recognized
-      if "Songlen" not in machine.get_screen_text():
-          raise Exception("Program did not start successfully")
+      machine.wait_for_text(r"(Songlen|Repstart|Time|About|Nibbles|Help)")
       machine.screenshot("screen")
     '';
 })