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 --- Test/A08time.ztst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test') 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