From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13048 invoked by alias); 26 Aug 2015 01:27:38 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20467 Received: (qmail 25151 invoked from network); 26 Aug 2015 01:27:37 -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 Date: Tue, 25 Aug 2015 18:27:28 -0700 From: Danek Duvall To: Mikael Magnusson Cc: Peter Stephenson , Zsh Users Subject: Re: zsh 5.0.8.-test-3 Message-ID: <20150826012728.GA23628@lorien.comfychair.org> Mail-Followup-To: Danek Duvall , Mikael Magnusson , Peter Stephenson , Zsh Users References: <20150825194807.194b3bed@ntlworld.com> <20150825222245.GA8276@lorien.comfychair.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2010-04-22) On Wed, Aug 26, 2015 at 01:09:07AM +0200, Mikael Magnusson wrote: > > strftime '%#A' 0 > > strftime '%^_10B' 0 > > strftime %03Ey 650000000 > > strftime %-Oe 0 > > [ ... ] > > So it seems. I don't have access to any obscure operating systems Obscure? I know, I know. > so I > just guessed that if someone supported one extension, they'd support > all of them. The one we test to see if we should skip the test is just > zero-padding though which is pretty easy/obvious to implement. I guess > we can check that one instead / as well. It looks like it supports > both # and E too, so those wouldn't do the trick. FWIW, we do have our man pages online: http://docs.oracle.com/cd/E36784_01/html/E36874/strftime-3c.html which documents # and E and O, as well as ^ and _. So I don't know why it didn't work, unless the underlying implementation is broken, which is entirely possible (and likely enough that I'd say you should just keep the test as it is and I'll go make sure the appropriate bug is filed and just live with the test failure for now). Still, it seems like the test should be able to distinguish between broken zsh code and broken system code. Or not really care about what extensions the implementation supports, if everything is just a system-dependent passthrough. Thanks, Danek