From: Mikael Magnusson <mikachu@gmail.com>
To: Danek Duvall <duvall@comfychair.org>,
Mikael Magnusson <mikachu@gmail.com>,
Peter Stephenson <p.w.stephenson@ntlworld.com>,
Zsh Users <zsh-users@zsh.org>
Subject: Re: zsh 5.0.8.-test-3
Date: Wed, 26 Aug 2015 04:19:45 +0200 [thread overview]
Message-ID: <CAHYJk3R82p1XE+cS56uqSf3QfcB_NO8YF4rE74vkRTq-H-7wAg@mail.gmail.com> (raw)
In-Reply-To: <20150826012728.GA23628@lorien.comfychair.org>
On Wed, Aug 26, 2015 at 3:27 AM, Danek Duvall <duvall@comfychair.org> 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? <sigh>
>
> 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
next prev parent reply other threads:[~2015-08-26 2:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 18:48 Peter Stephenson
2015-08-25 21:57 ` Baptiste Daroussin
2015-08-25 22:22 ` Danek Duvall
2015-08-25 23:09 ` Mikael Magnusson
2015-08-26 1:27 ` Danek Duvall
2015-08-26 2:19 ` Mikael Magnusson [this message]
2015-08-26 8:48 ` Peter Stephenson
2015-08-26 9:30 ` Mikael Magnusson
2015-08-28 8:45 ` Peter Stephenson
2015-08-25 22:36 Michael Beasley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHYJk3R82p1XE+cS56uqSf3QfcB_NO8YF4rE74vkRTq-H-7wAg@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=duvall@comfychair.org \
--cc=p.w.stephenson@ntlworld.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).