mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 02:31:27 +02:00
rtla/tests: Use negative match when testing --aa-only
For testing the -a/--auto option in timerlat tool, the string "analyzing it" is matched against to make sure auto-analysis was triggered. Use the same string as a negative match for --aa-only option test. Reviewed-by: Wander Lairson Costa <wander@redhat.com> Link: https://lore.kernel.org/r/20260423130558.882022-5-tglozar@redhat.com Signed-off-by: Tomas Glozar <tglozar@redhat.com>
This commit is contained in:
parent
7f7ad23bce
commit
31664637e6
|
|
@ -38,7 +38,7 @@ check_top_hist "dump tasks" \
|
|||
check "print the auto-analysis if hits the stop tracing condition" \
|
||||
"timerlat top --aa-only 5" 2
|
||||
check_top_hist "disable auto-analysis" \
|
||||
"timerlat TOOL -s 3 -T 10 -t --no-aa" 2
|
||||
"timerlat TOOL -s 3 -T 10 -t --no-aa" 2 "" "analyzing it"
|
||||
check_top_q_hist "verify -c/--cpus" \
|
||||
"timerlat TOOL -c 0 -d 10s -T 1 --on-threshold shell,command=tests/scripts/check-cpus.sh" 2 "^Affinity of threads: 0$"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user