From 1ba59b723ee88386bfcb327376226bc32379059c Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Sat, 16 Jan 2021 13:38:48 +0000 Subject: If ip or ip6 forwarding is not set, expect af-to failure. --- regress/sys/net/pflog/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'regress/sys/net') diff --git a/regress/sys/net/pflog/Makefile b/regress/sys/net/pflog/Makefile index a9208b6fb22..520b11be48a 100644 --- a/regress/sys/net/pflog/Makefile +++ b/regress/sys/net/pflog/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2021/01/14 21:53:42 bluhm Exp $ +# $OpenBSD: Makefile,v 1.6 2021/01/16 13:38:47 bluhm Exp $ # Copyright (c) 2021 Alexander Bluhm # @@ -57,6 +57,13 @@ regress: @echo SKIPPED .endif +SYSCTL_FORWARDING != sysctl net.inet.ip.forwarding +SYSCTL_FORWARDING6 != sysctl net.inet6.ip6.forwarding +.if ${SYSCTL_FORWARDING:C/.*=//} != 1 || ${SYSCTL_FORWARDING6:C/.*=//} != 1 +# Do not skip, but run tests. Although they fail, their packets are logged. +REGRESS_EXPECTED_FAILURES = run-ping-14 run-ping6-14 +.endif + .endif .PHONY: busy-rdomains ifconfig unconfig pfctl -- cgit v1.2.3