[openssh-commits] [openssh] 01/01: upstream: Test TEST_SSH_ELAPSED_TIMES for empty string not
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Jul 25 11:07:18 AEST 2022
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 0ff886be132299386cc29d87c2aa16ff68a1aa08
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Sun Jul 24 23:29:10 2022 +0000
upstream: Test TEST_SSH_ELAPSED_TIMES for empty string not
executable. No-op on most platforms but should prevent warnings in -portable
on systems that don't have 'date %s'.
OpenBSD-Regress-ID: e39d79867b8065e33d0c5926fa1a31f85659d2a4
---
regress/test-exec.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index d25c330b..5d71d583 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -1,9 +1,9 @@
-# $OpenBSD: test-exec.sh,v 1.90 2022/07/04 09:10:31 dtucker Exp $
+# $OpenBSD: test-exec.sh,v 1.91 2022/07/24 23:29:10 dtucker Exp $
# Placed in the Public Domain.
#SUDO=sudo
-if [ ! -x "$TEST_SSH_ELAPSED_TIMES" ]; then
+if [ -z "$TEST_SSH_ELAPSED_TIMES" ]; then
STARTTIME=`date '+%s'`
fi
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list