#include <kunit/test.h>
#include "fat.h"
static void fat_checksum_test(struct kunit *test)
{ … }
struct fat_timestamp_testcase { … };
static struct fat_timestamp_testcase time_test_cases[] = …;
static void time_testcase_desc(struct fat_timestamp_testcase *t,
char *desc)
{ … }
KUNIT_ARRAY_PARAM(fat_time, time_test_cases, time_testcase_desc);
static void fat_time_fat2unix_test(struct kunit *test)
{ … }
static void fat_time_unix2fat_test(struct kunit *test)
{ … }
static struct kunit_case fat_test_cases[] = …;
static struct kunit_suite fat_test_suite = …;
kunit_test_suites(…);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;