Re: [PATCH v2 05/14] tools/rv: Add selftests
From: Nam Cao
Date: Mon May 18 2026 - 04:47:14 EST
Gabriele Monaco <gmonaco@xxxxxxxxxx> writes:
> The rv tool needs automated testing to catch regressions and verify
> correct functionality across different usage scenarios.
>
> Add selftests that validate monitor listing (including containers and
> nested monitors), monitor execution with different configurations
> (reactors, verbose output, tracing), and trace output format for both
> per-task and per-cpu monitors. Error handling paths are also tested.
> Tests use a shared engine for common patterns.
>
> Signed-off-by: Gabriele Monaco <gmonaco@xxxxxxxxxx>
I am not good enough at bash script to review this. But test scripts can
never hurt, so:
Acked-by: Nam Cao <namcao@xxxxxxxxxxxxx>