Commit Graph
1 Commits
Author SHA1 Message Date
Andy Shevchenko 7546861a8c lib/cmdline_kunit: add a new test suite for cmdline API
Test get_option() for a starter which is provided by cmdline.c.

[[email protected]: fix warning by constifying cmdline_test_values]
[[email protected]: type of expected returned values should be int]
  Link: https://lkml.kernel.org/r/[email protected]
[[email protected]: provide meaningful MODULE_LICENSE()]
  Link: https://lkml.kernel.org/r/[email protected]

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Vitor Massaru Iha <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Brendan Higgins <[email protected]>
Cc: David Gow <[email protected]>
Cc: Matti Vaittinen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2020-12-15 22:46:16 -08:00