]> Gentwo Git Trees - linux/.git/commit
rtla/tests: Don't rely on matching ^1ALL
authorCrystal Wood <crwood@redhat.com>
Wed, 12 Nov 2025 15:25:25 +0000 (09:25 -0600)
committerTomas Glozar <tglozar@redhat.com>
Fri, 21 Nov 2025 09:30:27 +0000 (10:30 +0100)
commit61f1fd5d69fde27cfc277d1f68a1e6e4f7265b4b
treef7225cff1b28dce43fce1957ae3d4c750bb48a1b
parentddb6e42494e5c48c17e64f29b7674b9add486a19
rtla/tests: Don't rely on matching ^1ALL

The timerlat "top stop at failed action" test was relying on "ALL" being
printed immediately after the "1" from the threshold action.  Besides being
fragile, this depends on stdbuf behavior, which is easy to miss when
recreating the test outside of the framework for debugging purposes.

Instead, use the expected/unexpected text mechanism from the
corresponding osnoise test.

Signed-off-by: Crystal Wood <crwood@redhat.com>
Link: https://lore.kernel.org/r/20251112152529.956778-2-crwood@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
tools/tracing/rtla/tests/timerlat.t