artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f96d279
)
Test TEST_SSH_ELAPSED_TIMES for empty string not executable. No-op
author
dtucker
<dtucker@openbsd.org>
Sun, 24 Jul 2022 23:29:10 +0000
(23:29 +0000)
committer
dtucker
<dtucker@openbsd.org>
Sun, 24 Jul 2022 23:29:10 +0000
(23:29 +0000)
on most platforms but should prevent warnings in -portable on systems
that don't have 'date %s'.
regress/usr.bin/ssh/test-exec.sh
patch
|
blob
|
history
diff --git
a/regress/usr.bin/ssh/test-exec.sh
b/regress/usr.bin/ssh/test-exec.sh
index
d2fefe3
..
147a18c
100644
(file)
--- a/
regress/usr.bin/ssh/test-exec.sh
+++ b/
regress/usr.bin/ssh/test-exec.sh
@@
-1,9
+1,9
@@
-# $OpenBSD: test-exec.sh,v 1.9
0 2022/07/04 09:10:31
dtucker Exp $
+# $OpenBSD: test-exec.sh,v 1.9
1 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