summary refs log tree commit diff
path: root/nixos/tests/ft2-clone.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/ft2-clone.nix')
-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 3c90b3d3fa2..a8395d4ebaa 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")
     '';
 })