From: mpi Date: Mon, 22 Aug 2016 17:43:29 +0000 (+0000) Subject: Use a reachable next hop for test 13, which make it fail as it should. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a7a359a56a11935a5e6ab3462fb04195f9c17e7d;p=openbsd Use a reachable next hop for test 13, which make it fail as it should. --- 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