summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2021-01-12 00:15:03 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2021-01-12 00:15:03 +0000
commit6e293a7f0582f1d238c589967ab3a6ec10b180a9 (patch)
tree98c7c03a1f923686ab1324da3f93450f0d4a9aeb /regress
parent6b9b2def99cc80896c9cb210b30d01b616f1bb0d (diff)
Check that rule without logopt user has no uid in log entry.
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/net/pflog/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/regress/sys/net/pflog/Makefile b/regress/sys/net/pflog/Makefile
index 6b2b381b108..d0653310795 100644
--- a/regress/sys/net/pflog/Makefile
+++ b/regress/sys/net/pflog/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/01/11 12:02:53 bluhm Exp $
+# $OpenBSD: Makefile,v 1.2 2021/01/12 00:15:02 bluhm Exp $
# Copyright (c) 2021 Alexander Bluhm <bluhm@openbsd.org>
#
@@ -183,10 +183,9 @@ run-bpf-user: stamp-stop
# icmp has no uid at log entry
grep 'regress\.6/.* pass out on lo$N:\
127.* > 127.0.0.4: icmp: echo request' pflog${N1}.tcpdump
- # XXX rule without user sometimes has uid in log entry
- #grep 'regress\.3/.* pass out on lo$N:\
+ # rule without user has no uid in log entry
+ grep 'regress\.3/.* pass out on lo$N:\
127.* > 127.0.0.1.9:.* udp' pflog${N1}.tcpdump
- @echo DISABLED
run-bpf-matches:
# XXX The log matches keyword seems to be totally broken.