From e426f5e932cedeb6938469ded340f272390f6a07 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Mon, 8 Nov 2010 09:15:14 -0800 Subject: [PATCH] - (tim) [regress/kextype.sh] Not all platforms have time in /usr/bin. Feedback from dtucker@ --- ChangeLog | 4 ++++ regress/keytype.sh | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0b8d2c7f6..13f077228 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20101109 + - (tim) [regress/kextype.sh] Not all platforms have time in /usr/bin. + Feedback from dtucker@ + 20101108 - (tim) [regress/Makefile] Fixes to allow building/testing outside source tree. diff --git a/regress/keytype.sh b/regress/keytype.sh index 73858668e..b3d3a0d57 100644 --- a/regress/keytype.sh +++ b/regress/keytype.sh @@ -3,7 +3,11 @@ tid="login with different key types" -TIME=/usr/bin/time +TIME=`which time` 2>/dev/null +if test ! -x "$TIME"; then + TIME="" +fi + cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak