summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2016-11-09 01:29:17 +0000
committerbluhm <bluhm@openbsd.org>2016-11-09 01:29:17 +0000
commitbb7c9462b30695e4386a9c000ef92f6e02e9f4d1 (patch)
tree7224f98e535a96e46c24ae3c451ab58c35375450
parentsync (diff)
downloadwireguard-openbsd-bb7c9462b30695e4386a9c000ef92f6e02e9f4d1.tar.xz
wireguard-openbsd-bb7c9462b30695e4386a9c000ef92f6e02e9f4d1.zip
Use variable REMOTE_SSH to check the setup of the remote machine.
This was a copy & paste bug from another test. Found by mpi@.
-rw-r--r--regress/sys/netinet/pmtu/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/netinet/pmtu/Makefile b/regress/sys/netinet/pmtu/Makefile
index 71f7345ae68..37d86fa9eee 100644
--- a/regress/sys/netinet/pmtu/Makefile
+++ b/regress/sys/netinet/pmtu/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2016/10/19 14:31:19 tb Exp $
+# $OpenBSD: Makefile,v 1.6 2016/11/09 01:29:17 bluhm Exp $
# The following ports must be installed:
#
@@ -191,9 +191,9 @@ check-setup-remote:
ssh ${REMOTE_SSH} route -n get -inet6 ${${ip}} | fgrep -q 'gateway: ${LOCAL_ADDR6}' # ${ip} LOCAL_ADDR6
.endfor
.for af in inet inet6
- ssh ${ECO_SSH} netstat -a -f ${af} -p tcp | fgrep ' *.chargen '
+ ssh ${REMOTE_SSH} netstat -a -f ${af} -p tcp | fgrep ' *.chargen '
.endfor
- ssh ${ECO_SSH} netstat -a -f inet6 -p udp | fgrep ' *.echo '
+ ssh ${REMOTE_SSH} netstat -a -f inet6 -p udp | fgrep ' *.echo '
ssh ${REMOTE_SSH} ${SUDO} pfctl -sr | grep '^anchor "regress" all$$'
ssh ${REMOTE_SSH} ${SUDO} pfctl -si | grep '^Status: Enabled '