From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25773 invoked by alias); 23 Nov 2015 15:26:25 -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: 37202 Received: (qmail 17223 invoked from network); 23 Nov 2015 15:26:23 -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 autolearn=ham autolearn_force=no version=3.4.0 X-AuditID: cbfec7f5-f79b16d000005389-41-5653301aaf67 Date: Mon, 23 Nov 2015 15:26:15 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Test syntax documentation in B01cd is wrong? Message-id: <20151123152615.3803354e@pwslap01u.europe.root.pri> In-reply-to: <151122140533.ZM19350@torch.brasslantern.com> References: <151122140533.ZM19350@torch.brasslantern.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPLMWRmVeSWpSXmKPExsVy+t/xy7rSBsFhBlt1LA42P2RyYPRYdfAD UwBjFJdNSmpOZllqkb5dAldG7+/7LAUzWCvmT97G1sDYwNLFyMkhIWAi8bJpLjOELSZx4d56 ti5GLg4hgaWMEjd3tTJCODOYJFpvTGWFcM4xSqy+vogFwjnLKNHceZ8RpJ9FQFXiwOc+NhCb TcBQYuqm2WBxEQFxibNrz4PtExawlOj6/ZWpi5GDg1fAXmLZy2qQMKeAlcSPbXPAWoWASl7d fcgOYvML6Etc/fuJCeI8e4mZV86AjeQVEJT4Mfke2EhmAS2JzduaWCFseYnNa94yQ8xRl7hx dzf7BEbhWUhaZiFpmYWkZQEj8ypG0dTS5ILipPRcI73ixNzi0rx0veT83E2MkGD+uoNx6TGr Q4wCHIxKPLwa+kFhQqyJZcWVuYcYJTiYlUR4mcWDw4R4UxIrq1KL8uOLSnNSiw8xSnOwKInz ztz1PkRIID2xJDU7NbUgtQgmy8TBKdXAWOemWf97c5hG8yprs5hzD+YxVU2INX7h5558c29d /xYJzgsLGB/MzFxp8a6y4P/9Kat9nu2pLV6p/PfFn+J+JQaryBbeOUxt5h36xVZi+6N3qCyV L30ye75Ow9+9XjcWGlxts1t5IOj3Wra7H48WFO1buSFQ4ktd96ran/wb7A7zPfl7NPLWRyWW 4oxEQy3mouJEAK4QFYViAgAA On Sun, 22 Nov 2015 14:05:33 -0800 Bart Schaefer wrote: > The comment says: > > # 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. > > But in fact it appears you have to start EVERY line that needs to be > pattern matched with "*>" or "*?" -- see, for example, in A02alias: Looks to me from the test driver that it should work on *any* line, not just the first. pws