diff options
-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 | } |