# A new LyX instance is spawned, with the command-line arguments
# specified in <args...>.
#
+# TestEndWithKill <cmd...>
+# Ends a test case, killing immidiately the LyX instance under test
+# Behaviour is otherwise the same as in 'TestEnd' below
+#
# TestEnd <cmd...>
-# Ends a test case, killing the LyX instance under test, and
+# Ends a test case, closing the LyX instance under test, and
# executing the <cmd...> commands into an os.system(). The exit status
# of the commands sequence determines success or failure of the test.
# This is equivalent to:
# KD: n
# Changes the delay among typed charactes to n milliseconds.
#
+# CO: [>>] <filename>
+# Open control file for write (or append if preceeded with '>>').
+# This file will contain the search and comment strings.
+# Used only by the script 'searchPatterns.pl' at the end of test
+#
+# CN: <notice>
+# Write a comment-notice to the control file. Will be output when processed
+# by 'searchPatterns.pl' script.
+#
+# CP: <pattern>
+# Write a pattern to the control file. Special characters in this pattern
+# will be escaped to create a suitable regex.
+# The result will be applied on the lyx-log-file
+#
+# Cp: <pattern>
+# It is an error if this pattern matches before the expected (either CP: or CR:)
+# Expand pattern like in CP:
+#
+# CR: <regex pattern>
+# Write a pattern to the control file. Pattern will be used directly (no conversion).
+#
+# Cr: <regex pattern>
+# It is an error if this pattern matches before the expected (either CP: or CR:)
+#
+# CC:
+# Close the control file. The file is also closed at 'TestEndWithKill' and 'TestEnd'
+# implicitly.
+#
# Sleep f
# Single delay of f seconds.
#