aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoel Granados <[email protected]>2023-06-16 10:59:16 +0200
committerLuis Chamberlain <[email protected]>2023-06-18 02:32:53 -0700
commita40b702789a480904b15f5843c4ed79f969ee4d5 (patch)
tree5763e264f88be698d987c64309997d5e2cbb787b /tools/perf/scripts/python
parent37e9981e33e4d308c323a56bb908aa54c8f041a8 (diff)
test_sysctl: Fix test metadata getters
The functions get_test_{count,enabled,target} use awk to get the N'th field in the ALL_TESTS variable. A variable with leading zeros (e.g. 0009) is misinterpreted as an entire line instead of the N'th field. Remove the leading zeros so this does not happen. We can now use the helper in tests 6, 7 and 8. Signed-off-by: Joel Granados <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions