From 98e486fb5642f04c0909d3cd487382f5901e984e Mon Sep 17 00:00:00 2001 From: dana Date: Thu, 2 Jan 2025 17:06:34 -0600 Subject: 53297: Test/A08time: allow %nU/%nS result to be 0 --- ChangeLog | 2 ++ Test/A08time.ztst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cd29452a7..21dcd47e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2025-01-02 dana + * 53297: Test/A08time.ztst: allow %nU/%nS result to be 0 + * unposted: Completion/Zsh/Command/_zparseopts: update completion per workers/53260 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 -- cgit v1.2.3-70-g09d2