Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/npf/npftest/libnpftest



Module Name:    src
Committed By:   joe
Date:           Tue Nov  3 12:24:55 UTC 2026

Modified Files:
        src/usr.sbin/npf/npftest/libnpftest: npf_bpf_test.c

Log Message:
change failure and success path in testing bpf in npf

There are two tests here, standlone BPF byte code and JIT-compiled code

we don't need if/else block, we need an assertion to trigger
on any if there is unsuccessful compilation.

this avoids tests failures being unnoticed because we only see failures when
running in verbose mode


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/npf/npftest/libnpftest/npf_bpf_test.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index