automated: linux: kselftest: Deduplicate test names with minuses

Currently the KTAP output parser deletes any '-' it sees in the test
name when slugifying it.  This means that in a case like the arm64
breakpoints test two distinct tests end up squashed into the same name
since the only difference in name is a minus sign:

 # ok 1 Test size = 1 write offset = 0 watchpoint offset = -1
 # ok 3 Test size = 1 write offset = 0 watchpoint offset = 1

becomes:

 breakpoints_breakpoint_test_arm64_Test_size_1_write_offset_0_watchpoint_offset_1 pass
 breakpoints_breakpoint_test_arm64_Test_size_1_write_offset_0_watchpoint_offset_1_dup2 pass

which isn't ideal.  Fix this by converting the '-' to an '_' instead.

Signed-off-by: Mark Brown <broonie@kernel.org>
1 file changed
tree: 22e99d1c8cd220ed72aa747a9c7645d83cebc114
  1. .github/
  2. .reuse/
  3. automated/
  4. docs/
  5. LICENSES/
  6. manual/
  7. mkdocs_plugin/
  8. plans/
  9. test/
  10. .gitignore
  11. .readthedocs.yml
  12. COPYING
  13. COPYRIGHTS
  14. mkdocs.yml
  15. README.md
  16. sanity-check.sh
  17. test.sh
  18. validate.py
README.md

Build Status REUSE Compliance Check

Test Definitions

A set of testing scripts designed to work with LAVA. Also contains test-runner script that allows execution outside LAVA.

More details in docs