Commit 38aaded
committed
shellcheck: fix cpu counting and trap-only cleanup warning in Stressapptest
Update Runner/suites/Kernel/Stress/Stressapptest/run.sh to:
- replace the CPU_COUNT calculation with a shellcheck-clean form that
preserves the intended counting of space-separated ONLINE_CPUS
- add a targeted SC2317 annotation for the cleanup function invoked only
through trap
This is a mechanical cleanup and does not change the intended stressapptest
flow.
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>1 parent f56fdd6 commit 38aaded
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | 188 | | |
190 | 189 | | |
191 | 190 | | |
| |||
407 | 406 | | |
408 | 407 | | |
409 | 408 | | |
410 | | - | |
| 409 | + | |
411 | 410 | | |
412 | 411 | | |
413 | 412 | | |
| |||
0 commit comments