summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2010-01-16 11:37:53 -0800
committerTim Rice <tim@multitalents.net>2010-01-16 11:37:53 -0800
commit999aaf4182fe7f0b21600299826139520b1b8212 (patch)
tree9eefa61396ab6cc60122dadab54781057a9ffd31
parent4e218554222592a99991fe6320eae6277f3109a6 (diff)
- (tim) [regress/portnum.sh] Shell portability fix.
-rw-r--r--ChangeLog1
-rw-r--r--regress/portnum.sh4
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e41bf6a97..dfae0d687 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
1620100115 1720100115
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() {
13goodport() { 13goodport() {
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}