Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Fwd: A08 Test Failure
- X-seq: zsh-workers 53297
- From: dana <dana@xxxxxxx>
- To: "Vin Shelton" <ethersoft@xxxxxxxxx>
- Cc: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Subject: Re: Fwd: A08 Test Failure
- Date: Tue, 31 Dec 2024 14:47:39 -0600
- Archived-at: <https://zsh.org/workers/53297>
- Feedback-id: i9be146f9:Fastmail
- In-reply-to: <CACeGjnXAHMqJFM3+H3ZkVHXA3GGz7x0rAVjznY=oRR6aSmynDg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CACeGjnW_uWH7Wzjm=TTfKXxWY1BMeGmF_zhz-uCH_VcpFhKYag@mail.gmail.com> <CACeGjnXAHMqJFM3+H3ZkVHXA3GGz7x0rAVjznY=oRR6aSmynDg@mail.gmail.com>
On Tue 31 Dec 2024, at 12:56, Vin Shelton wrote:
>> Pattern match failed, line 1:
>> -<[1-9][0-9]#000ns [1-9][0-9]#000ns
>> +>0ns 350000ns
>> Test ../../../src/zsh-2024-12-31/Test/A08time.ztst failed: error output differs from expected as shown above for:
>> ( TIMEFMT='%nU %nS'; time (read -k3 -t0.1) )
>> Was testing: TIMEFMT %nU and %nS are limited to microsecond precision
>> ../../../src/zsh-2024-12-31/Test/A08time.ztst: test failed.
i guess either number can be zero for this test. actually if i run it via the
test harness the user time is 0 as reported but if i run it outside it's the
other way around (on arm64 bookworm). tbh i don't understand why. but ok
dana
diff --git a/Test/A08time.ztst b/Test/A08time.ztst
index 4a41cc76a..071038d1f 100644
--- a/Test/A08time.ztst
+++ b/Test/A08time.ztst
@@ -25,7 +25,7 @@
( TIMEFMT='%nU %nS'; time (read -k3 -t0.1) )
1:TIMEFMT %nU and %nS are limited to microsecond precision
-*?[1-9][0-9]#000ns [1-9][0-9]#000ns
+*?(0|[1-9][0-9]#000)ns (0|[1-9][0-9]#000)ns
# SECONDS (after - before) must be greater than the elapsed time, but not much
# greater. 25% was picked arbitrarily as something that hopefully will prevent
Messages sorted by:
Reverse Date,
Date,
Thread,
Author