summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-09-22 07:52:26 -0700
committerPaul Moore <paul@paul-moore.com>2024-09-23 15:53:37 -0400
commitf89722faa31466ff41aed21bdeb9cf34c2312858 (patch)
treeb8429d4758eee434c9321406bf8f6b666053baef /security
parent8a23c9e1ba4642b60420e8caa75859883a509c24 (diff)
ipe: Add missing terminator to list of unit tests
Add missing terminator to list of unit tests to avoid random crashes seen when running the test. Fixes: 10ca05a76065 ("ipe: kunit test for parser") Cc: Deven Bowers <deven.desai@linux.microsoft.com> Cc: Paul Moore <paul@paul-moore.com> Cc: Fan Wu <wufan@linux.microsoft.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Fan Wu <wufan@linux.microsoft.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
-rw-r--r--security/ipe/policy_tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/ipe/policy_tests.c b/security/ipe/policy_tests.c
index 89521f6b9994..5f1654deeb04 100644
--- a/security/ipe/policy_tests.c
+++ b/security/ipe/policy_tests.c
@@ -286,6 +286,7 @@ static void ipe_parser_widestring_test(struct kunit *test)
static struct kunit_case ipe_parser_test_cases[] = {
KUNIT_CASE_PARAM(ipe_parser_unsigned_test, ipe_policies_gen_params),
KUNIT_CASE(ipe_parser_widestring_test),
+ { }
};
static struct kunit_suite ipe_parser_test_suite = {