diff options
| author | dana <dana@dana.is> | 2025-01-02 17:06:34 -0600 |
|---|---|---|
| committer | dana <dana@dana.is> | 2025-01-02 17:13:04 -0600 |
| commit | 98e486fb5642f04c0909d3cd487382f5901e984e (patch) | |
| tree | acc4ac6b7178acb6a31d5afae3bd60a4d5440d98 /Test | |
| parent | unposted: _zparseopts: update per workers/53260 (diff) | |
| download | zsh-98e486fb5642f04c0909d3cd487382f5901e984e.tar zsh-98e486fb5642f04c0909d3cd487382f5901e984e.tar.gz zsh-98e486fb5642f04c0909d3cd487382f5901e984e.tar.bz2 zsh-98e486fb5642f04c0909d3cd487382f5901e984e.tar.lz zsh-98e486fb5642f04c0909d3cd487382f5901e984e.tar.xz zsh-98e486fb5642f04c0909d3cd487382f5901e984e.tar.zst zsh-98e486fb5642f04c0909d3cd487382f5901e984e.zip | |
53297: Test/A08time: allow %nU/%nS result to be 0
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/A08time.ztst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
