From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13169 invoked by alias); 26 Aug 2015 02:19:48 -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: 20468 Received: (qmail 10010 invoked from network); 26 Aug 2015 02:19:47 -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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=l81Bh+0WkK+06wG6QJNrWzkPI/LD9DcKmUiM4gIVepk=; b=jiNSh0oEy5pFWUPFGzswqiVDy8/JHqU1GCuoozf0YJjTTv0v30gI+ciOGMmZ0M12uD zP5QW1LXJE7schnPCQuwmb9e8F8joi82a+x7iceuLSDPambCmhWrLgBcek55asEjknlO PPBvRaUfww+UFZOEhKRQrwwBk9WDp+1WAPt6DOXvg0IMXp5TMJATCGdE0PQf9fjKnijE Qp3CXtXEys7q1Y7eyuLygNUTZi52N4PqYsMfEhJDJDVZswkqMChv7imq0US38VZTtTHV LyExzKNaXeBZwJ+SjZJ1V7JwZXJxU01qy6loMEbNVzvos+anCmyaZNMdBcd0GMpts1KV T6dA== MIME-Version: 1.0 X-Received: by 10.140.147.85 with SMTP id 82mr76251017qht.90.1440555585290; Tue, 25 Aug 2015 19:19:45 -0700 (PDT) In-Reply-To: <20150826012728.GA23628@lorien.comfychair.org> References: <20150825194807.194b3bed@ntlworld.com> <20150825222245.GA8276@lorien.comfychair.org> <20150826012728.GA23628@lorien.comfychair.org> Date: Wed, 26 Aug 2015 04:19:45 +0200 Message-ID: Subject: Re: zsh 5.0.8.-test-3 From: Mikael Magnusson To: Danek Duvall , Mikael Magnusson , Peter Stephenson , Zsh Users Content-Type: text/plain; charset=UTF-8 On Wed, Aug 26, 2015 at 3:27 AM, Danek Duvall wrote: > 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. I was just kidding, read it as "operating systems that aren't Linux" :). >> 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). I'll let Peter decide which of those to do then. FWIW glibc has some fun bugs/quirks too, (%EA isn't specified to do anything) % date +%014EA 00000000%014EA > 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. Well, it's a bit hard to tell, the output would be the same in both cases (depending on how broken the zsh code got). -- Mikael Magnusson