summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/portnum.sh4
1 files changed, 3 insertions, 1 deletions
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}