#include <kunit/test.h>
#include <linux/kernel.h>
#include <linux/random.h>
#include <linux/string.h>
static const char *cmdline_test_strings[] = …;
static const int cmdline_test_values[] = …;
static_assert(…);
static const char *cmdline_test_range_strings[] = …;
static const int cmdline_test_range_values[][16] = …;
static_assert(…);
static void cmdline_do_one_test(struct kunit *test, const char *in, int rc, int offset)
{ … }
static void cmdline_test_noint(struct kunit *test)
{ … }
static void cmdline_test_lead_int(struct kunit *test)
{ … }
static void cmdline_test_tail_int(struct kunit *test)
{ … }
static void cmdline_do_one_range_test(struct kunit *test, const char *in,
unsigned int n, const int *e)
{ … }
static void cmdline_test_range(struct kunit *test)
{ … }
static struct kunit_case cmdline_test_cases[] = …;
static struct kunit_suite cmdline_test_suite = …;
kunit_test_suite(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;