diff options
author | Tim Rice <tim@multitalents.net> | 2010-01-16 11:37:53 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2010-01-16 11:37:53 -0800 |
commit | 999aaf4182fe7f0b21600299826139520b1b8212 (patch) | |
tree | 9eefa61396ab6cc60122dadab54781057a9ffd31 | |
parent | 4e218554222592a99991fe6320eae6277f3109a6 (diff) |
- (tim) [regress/portnum.sh] Shell portability fix.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | regress/portnum.sh | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -12,6 +12,7 @@ | |||
12 | - (dtucker) [openbsd-compat/pwcache.c] Shrink ifdef area to prevent unused | 12 | - (dtucker) [openbsd-compat/pwcache.c] Shrink ifdef area to prevent unused |
13 | variable warnings. | 13 | variable warnings. |
14 | - (dtucker) [openbsd-compat/openbsd-compat.h] Typo. | 14 | - (dtucker) [openbsd-compat/openbsd-compat.h] Typo. |
15 | - (tim) [regress/portnum.sh] Shell portability fix. | ||
15 | 16 | ||
16 | 20100115 | 17 | 20100115 |
17 | - (dtucker) OpenBSD CVS Sync | 18 | - (dtucker) OpenBSD CVS Sync |
diff --git a/regress/portnum.sh b/regress/portnum.sh index 82abbc9f0..1de0680fe 100644 --- a/regress/portnum.sh +++ b/regress/portnum.sh | |||
@@ -13,7 +13,9 @@ badport() { | |||
13 | goodport() { | 13 | goodport() { |
14 | port=$1 | 14 | port=$1 |
15 | verbose "$tid: valid port $port" | 15 | verbose "$tid: valid port $port" |
16 | if ! ${SSH} -F $OBJ/ssh_proxy -p $port somehost true 2>/dev/null ; then | 16 | if ${SSH} -F $OBJ/ssh_proxy -p $port somehost true 2>/dev/null ; then |
17 | : | ||
18 | else | ||
17 | fail "$tid rejected valid port $port" | 19 | fail "$tid rejected valid port $port" |
18 | fi | 20 | fi |
19 | } | 21 | } |