diff options
| author | Ralf Lici <ralf@mandelbit.com> | 2026-03-23 17:12:32 +0300 |
|---|---|---|
| committer | Antonio Quartulli <antonio@openvpn.net> | 2026-04-17 11:54:03 +0300 |
| commit | 1be93bb979ab02554541b04406e9e3a6a8e0ce9e (patch) | |
| tree | 05cc5e5517fac0342f23ab253d31b6321be22dd5 /include/linux/workqueue_api.h | |
| parent | 7c29665a3a3cce1b0e9d6b96054eef64bfc4cebd (diff) | |
| download | linux-1be93bb979ab02554541b04406e9e3a6a8e0ce9e.tar.xz | |
selftests: ovpn: align command flow with TAP
Current tests do not properly adhere to the TAP infrastructure
therefore they do not properly report failures leading to hangs of
the CI machinery.
Restructure ovpn selftests into using the TAP infrastructure: split each
test in stages, execute stage bodies with fail-fast semantics, and emit
KTAP pass/fail for each stage.
Centralize behavior control in common.sh and makes the scripts use
dedicated wrappers for required-success, expected-failure, and non-fatal
commands. Also add the OVPN_VERBOSE mode that exposes captured command
output for debugging.
This way tests won't hang anymore in case of failure when executed
within the CI machinery.
This change also makes default OVPN_CLI and YNL resolution
independent from the caller CWD by anchoring both to COMMON_DIR, so
behavior is stable across direct execution and run_tests-style
execution.
Fixes: 959bc330a439 ("testing/selftests: add test tool and scripts for ovpn module")
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
