From cb04ae40af123da88bf0209964965d17a9486325 Mon Sep 17 00:00:00 2001 From: dana Date: Wed, 13 Dec 2017 20:49:58 -0600 Subject: add millisecond and microsecond options to TIMEFMT variable --- Test/A01grammar.ztst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Test/A01grammar.ztst') diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index 5e7d6acd8..217f7bea4 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -369,6 +369,10 @@ (time cat) >&/dev/null 0:`time' keyword (status only) + TIMEFMT='%E %mE %uE %* %m%mm %u%uu'; time (:) +0:`time' keyword with custom TIMEFMT +*?[0-9]##.[0-9](#c2)s [0-9]##ms [0-9]##us %\* %m%mm %u%uu + if [[ -f foo && -d . && -n $ZTST_testdir ]]; then true else -- cgit 1.4.1