diff options
author | Joel Granados <[email protected]> | 2023-06-16 10:59:16 +0200 |
---|---|---|
committer | Luis Chamberlain <[email protected]> | 2023-06-18 02:32:53 -0700 |
commit | a40b702789a480904b15f5843c4ed79f969ee4d5 (patch) | |
tree | 5763e264f88be698d987c64309997d5e2cbb787b /lib/mpi/mpi-sub-ui.c | |
parent | 37e9981e33e4d308c323a56bb908aa54c8f041a8 (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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions