diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-04 13:59:48 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-04 13:59:48 +1000 |
commit | 871f7408abd34f42adc6a3f023c1a29227eb9759 (patch) | |
tree | 71cf888a8989bdc9ce9649950d3e852b2253ac5f | |
parent | 5569759bce2f3660ef314d58a08652e05222d580 (diff) |
- [regress/reconfigure/sh] Make path to sshd fully qualified if required.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | regress/reconfigure.sh | 9 |
2 files changed, 10 insertions, 2 deletions
@@ -6,6 +6,7 @@ | |||
6 | getpeereid. | 6 | getpeereid. |
7 | - [regress/agent-ptrace.sh] Skip tests if platform doesn't support it or | 7 | - [regress/agent-ptrace.sh] Skip tests if platform doesn't support it or |
8 | gdb cannot be found. | 8 | gdb cannot be found. |
9 | - [regress/reconfigure/sh] Make path to sshd fully qualified if required. | ||
9 | 10 | ||
10 | 20030903 | 11 | 20030903 |
11 | - (djm) OpenBSD CVS Sync | 12 | - (djm) OpenBSD CVS Sync |
@@ -996,4 +997,4 @@ | |||
996 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 997 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
997 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 998 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
998 | 999 | ||
999 | $Id: ChangeLog,v 1.2944 2003/09/04 03:55:25 dtucker Exp $ | 1000 | $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 @@ | |||
4 | tid="simple connect after reconfigure" | 4 | tid="simple connect after reconfigure" |
5 | 5 | ||
6 | # we need the full path to sshd for -HUP | 6 | # we need the full path to sshd for -HUP |
7 | SSHD=/usr/sbin/sshd | 7 | case $SSHD in |
8 | /*) | ||
9 | # full path is OK | ||
10 | ;; | ||
11 | *) | ||
12 | # otherwise make fully qualified | ||
13 | SSHD=$OBJ/$SSHD | ||
14 | esac | ||
8 | 15 | ||
9 | start_sshd | 16 | start_sshd |
10 | 17 | ||