From ae8e3ba86d675e13d70e9bf26bf88620bebb096d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 1 Dec 2011 21:52:55 +0000 Subject: 29924: add ability to match test output using patterns --- Test/B01cd.ztst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Test/B01cd.ztst') diff --git a/Test/B01cd.ztst b/Test/B01cd.ztst index b5ba4d03b..e178495a9 100644 --- a/Test/B01cd.ztst +++ b/Test/B01cd.ztst @@ -57,6 +57,14 @@ # lines are not subject to any substitution unless the `q' flag (see # below) is set. # +# '>' and '?' may be preceded by a '*', in which case all lines +# in the chunk must be so delimited (i.e. all lines must start either +# '*>' or '>' but not a mixture). If the '*' is present, the lines +# in the actual output are pattern matched against the lines in the +# test output. The entire line following '*>' or '*?' must be a +# valid pattern, so characters special to patterns such as parentheses +# must be quoted. The EXTENDED_GLOB option is used for all such patterns. +# # Each chunk of indented code is to be evaluated in one go and is to # be followed by a line starting (in the first column) with # the expected status returned by the code when run, or - if it is -- cgit v1.2.3-70-g09d2