diff options
author | 2016-08-22 17:43:29 +0000 | |
---|---|---|
committer | 2016-08-22 17:43:29 +0000 | |
commit | a7a359a56a11935a5e6ab3462fb04195f9c17e7d (patch) | |
tree | 833a5e3ed4a9dc739a3686054087c36cfefe2a22 | |
parent | Various clean up and reorganisation of the connection info handling code. (diff) | |
download | wireguard-openbsd-a7a359a56a11935a5e6ab3462fb04195f9c17e7d.tar.xz wireguard-openbsd-a7a359a56a11935a5e6ab3462fb04195f9c17e7d.zip |
Use a reachable next hop for test 13, which make it fail as it should.
-rw-r--r-- | regress/sbin/route/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/sbin/route/Makefile b/regress/sbin/route/Makefile index 2a561cbf787..ac727ed214d 100644 --- a/regress/sbin/route/Makefile +++ b/regress/sbin/route/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2015/12/02 11:05:35 mpi Exp $ +# $OpenBSD: Makefile,v 1.11 2016/08/22 17:43:29 mpi Exp $ RDOMAIN?= 5 @@ -160,12 +160,13 @@ rttest${n}: ${RCMD} show -inet 2>&1 | \ diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin +# Cannot change the gateway of an mpath route n= 13 RTTEST_TARGETS+:=rttest${n} rttest${n}: ${RCMD} add -mpath 10.8.1/24 192.0.2.3 ${RCMD} add -mpath 10.8.1/24 192.0.2.4 - ${RCMD} change -mpath 10.8.1/24 192.0.2.5 && exit 1 || exit 0 + ${RCMD} change -mpath 10.8.1/24 192.0.2.1 && exit 1 || exit 0 # Changing MTU should not change the ifa n= 14 |