]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: ovpn: fail notification check on mismatch
authorRalf Lici <ralf@mandelbit.com>
Mon, 23 Mar 2026 14:32:26 +0000 (15:32 +0100)
committerAntonio Quartulli <antonio@openvpn.net>
Fri, 17 Apr 2026 08:54:03 +0000 (10:54 +0200)
commitc409da0fe15e2b2aae7f93edbab977e23117ce4d
tree3c1228637140fb9ad46fa6b83196805eb46c4aa0
parente5fd34ab8dff6c5bd4f2e9ee4f3945b79e511068
selftests: ovpn: fail notification check on mismatch

compare_ntfs doesn't fail when expected and received notification
streams diverge.

Fix this bug by tracking the diff exit status explicitly and return it
to the caller so notification mismatches propagate as test failures.

Fixes: 77de28cd7cf1 ("selftests: ovpn: add notification parsing and matching")
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
tools/testing/selftests/net/ovpn/common.sh