diff --git a/tests/test_util.fish b/tests/test_util.fish index c49a9a38e..402b5e823 100644 --- a/tests/test_util.fish +++ b/tests/test_util.fish @@ -136,7 +136,7 @@ end # lame timer for program in {g,}date - if $program --version 1>/dev/null 2>/dev/null + if command -q $program set milli $program set unit ms break