diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2020-06-13 12:04:05 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2020-06-24 10:22:53 +0200 |
commit | b520055df6c9913ef4ddbc931a1635516433a7a9 (patch) | |
tree | 86c886b7f99e53cdb66f098ad1c5a5e0623920e7 /nixos/doc/manual | |
parent | 37ec7c488a3579a868014f53b87f669bf65ed83f (diff) |
nixos/lib/test-driver: add wait_for_console_text
This method is similar to wait_for_text but is based on matching serial console lines instead of the VGA output.
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r-- | nixos/doc/manual/development/writing-nixos-tests.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/doc/manual/development/writing-nixos-tests.xml b/nixos/doc/manual/development/writing-nixos-tests.xml index 150bea8c2d86c..ff37b3b2f6f38 100644 --- a/nixos/doc/manual/development/writing-nixos-tests.xml +++ b/nixos/doc/manual/development/writing-nixos-tests.xml @@ -362,6 +362,18 @@ start_all() </varlistentry> <varlistentry> <term> + <methodname>wait_for_console_text</methodname> + </term> + <listitem> + <para> + Wait until the supplied regular expressions match a line of the serial + console output. This method is useful when OCR is not possibile or + accurate enough. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> <methodname>wait_for_window</methodname> </term> <listitem> |