intel / lkp-tests

Linux Kernel Performance tests
GNU General Public License v2.0
251 stars 153 forks source link

Add rspec test to validate config format #365

Closed yeetengangIntel closed 4 months ago

yeetengangIntel commented 5 months ago

Fix for issue #241

yeetengangIntel commented 5 months ago

For now there are 4 files in /include directory that does not met the requirements due to integers or multiple values passed in:

  1. include/ndctl
  2. include/kernel-selftests
  3. include/blktests
  4. include/kernel-selftests-bpf @rli9 Based on issue 241 require config value to only contain n, m, y, i386, x86_64, or empty, so would like to check if these 4 files values are expected? image
rli9 commented 5 months ago

Based on issue 241 require config value to only contain n, m, y, i386, x86_64, or empty, so would like to check if these 4 files values are expected?

Sorry, the int value is also valid. I didn't mention it in the initial issue.

rli9 commented 4 months ago

Thanks, can you help combine all commits into a single one?

rli9 commented 4 months ago

thanks for the patch