summaryrefslogtreecommitdiff
path: root/regress/sys/net/pf_opts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/net/pf_opts/Makefile')
-rw-r--r--regress/sys/net/pf_opts/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/sys/net/pf_opts/Makefile b/regress/sys/net/pf_opts/Makefile
index ade0b5f48a6..e1b17209c88 100644
--- a/regress/sys/net/pf_opts/Makefile
+++ b/regress/sys/net/pf_opts/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2022/05/16 16:54:18 bluhm Exp $
+# $OpenBSD: Makefile,v 1.7 2023/10/11 18:07:56 anton Exp $
# Copyright (c) 2022 Alexander Bluhm <bluhm@openbsd.org>
#
@@ -47,8 +47,9 @@ regress:
@echo SKIPPED
.endif
-PF_SKIP != ${SUDO} /sbin/pfctl -sI -v | sed -n 's/ (skip)//p'
-.if ! empty(PF_SKIP:Mlo*:Nlo0)
+PF_SKIP != ${SUDO} /sbin/pfctl -sI -v | sed -n 's/ (skip)//p' | \
+ grep -w -e lo${N1} -e lo${N2} || :
+.if ! empty(PF_SKIP)
regress:
@echo pf skip: "${PF_SKIP}"
@echo Do not set skip on interface lo, lo${N1}, or lo${N2}.