From 871f7408abd34f42adc6a3f023c1a29227eb9759 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 4 Sep 2003 13:59:48 +1000 Subject: - [regress/reconfigure/sh] Make path to sshd fully qualified if required. --- ChangeLog | 3 ++- regress/reconfigure.sh | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4ff13cad5..4d54422c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ getpeereid. - [regress/agent-ptrace.sh] Skip tests if platform doesn't support it or gdb cannot be found. + - [regress/reconfigure/sh] Make path to sshd fully qualified if required. 20030903 - (djm) OpenBSD CVS Sync @@ -996,4 +997,4 @@ - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au -$Id: ChangeLog,v 1.2944 2003/09/04 03:55:25 dtucker Exp $ +$Id: ChangeLog,v 1.2945 2003/09/04 03:59:48 dtucker Exp $ diff --git a/regress/reconfigure.sh b/regress/reconfigure.sh index 4315f0a40..ba6dbc6f5 100644 --- a/regress/reconfigure.sh +++ b/regress/reconfigure.sh @@ -4,7 +4,14 @@ tid="simple connect after reconfigure" # we need the full path to sshd for -HUP -SSHD=/usr/sbin/sshd +case $SSHD in +/*) + # full path is OK + ;; +*) + # otherwise make fully qualified + SSHD=$OBJ/$SSHD +esac start_sshd -- cgit v1.2.3