From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17760 invoked by alias); 23 Nov 2015 17:12:20 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37205 Received: (qmail 9891 invoked from network); 23 Nov 2015 17:12:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=wiavfwXyRxzdG6KN9HcBPGweyiilFTgjExkvXEistcY=; b=P6Z4g3saPVAGmJPCllnQnghQazN6/dVJ/d2Qn89wixXRGg+mkvICKWkTZECB7lUGg+ YjS/Amt4augdR2U+A8s/GMJ4dHiV6zdar1vGHvD8DgTzUAlLxJz/iDGVk32EymwCzSeL V/xkqQxl1Go+G+Svx3kDdE9evvacCChq7q0YQ0fNzRbeZfuRQzeGFGM6FAM9Vj0WCI9b ItPqSe+JyLzpN6uxGtn2DqTusYcxoAo1ApJqGDkWdSRvqni6YoGRpO/aMSLu/s5JsbTf jpIN9z8wPMMDsvt5wigNgiw4sYVnnvdbJETGp04zS0Y85sLzBDQfgvMzNDSr01BNr0QI Ywwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=wiavfwXyRxzdG6KN9HcBPGweyiilFTgjExkvXEistcY=; b=jGxKHanUVnOk/qkDKmNe44rKF9fGH7dfHzAASLnwL9dmo4Oo5lcnZeg3AFz628C5X9 Z8KclJxetZs5LCRKRD6PMb4L2iRCLt+1UAq6ftOjBpfyW7q/d0UssGANcpLfY3z/57WY rdPXA8npDh9+TAC6I+a7d4nWuWZuwsRHxbIa/9dUJSpGNF1bz9UQEvKT/3HLVs0eewSM Wlz4zBo9sVrkf9RXJJoa4SfKRMDsO5iyY49wPLsI9PMt4KneCyk3LImCvddy52T52r7d wGlvaJJ1t57lTWT8sZtyGzuuH8gaHScxWV/COgmwOVCbGDtYLQz6ZEfvfYoOmX8UuxSn PcZQ== X-Gm-Message-State: ALoCoQnzKY/XUo5peoiyVobxBm2u28JHO5FjipJUSAEOk3m4vhTMTb2QOtF6Fqc60LWrZKxMybpi X-Received: by 10.68.245.229 with SMTP id xr5mr37353201pbc.56.1448298736550; Mon, 23 Nov 2015 09:12:16 -0800 (PST) From: Bart Schaefer Message-Id: <151123091225.ZM4741@torch.brasslantern.com> Date: Mon, 23 Nov 2015 09:12:25 -0800 In-Reply-To: <20151123152615.3803354e@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: Test syntax documentation in B01cd is wrong?" (Nov 23, 3:26pm) References: <151122140533.ZM19350@torch.brasslantern.com> <20151123152615.3803354e@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Test syntax documentation in B01cd is wrong? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Nov 23, 3:26pm, Peter Stephenson wrote: } Subject: Re: Test syntax documentation in B01cd is wrong? } } Looks to me from the test driver that it should work on *any* line, not } just the first. diff --git a/Test/B01cd.ztst b/Test/B01cd.ztst index a5b3769..94447e7 100644 --- a/Test/B01cd.ztst +++ b/Test/B01cd.ztst @@ -57,13 +57,13 @@ # subsequent whitespace being significant; lines are not subject to any # substitution unless the `q' flag (see below) is set. # -# The first line (only) of a '>' and '?' chunk may be preceded by a '*', -# so the line starts '*>' or '*?'. This signifies that all lines in the -# chunk (not just the one with the '*' in front) in the actual output -# are pattern matched against the corresponding lines in the test -# output. Each line following '>' or '?' must be a valid pattern, so -# characters special to patterns such as parentheses must be quoted -# with a backslash. The EXTENDED_GLOB option is used for all such patterns. +# Each line of a '>' and '?' chunk may be preceded by a '*', so the line +# starts '*>' or '*?'. This signifies that for any line with '*' in front +# the actual output should be pattern matched against the corresponding +# lines in the test output. Each line following '>' or '?' must be a +# valid pattern, so characters special to patterns such as parentheses +# must be quoted with a backslash. 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 -- Barton E. Schaefer