ipe: Add missing terminator to list of unit tests
Subsystems (2)
PATCH 1/1 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.
--- security/ipe/policy_tests.c | 1 + 1 file changed, 1 insertion(+)
security/ipe/policy_tests.c +1 -0
@@ -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 = {
Signature · 1 line
2.45.2
Paul Moore
maintainerQuoted 4 lines · Guenter Roeck
Add missing terminator to list of unit tests to avoid random crashes seen when running the test.
Quoted 8 lines
Fixes 10ca05a76065 ("ipe: kunit test for parser")Cc Deven Bowers <[email protected]>Cc Paul Moore <[email protected]>Cc Fan Wu <[email protected]>Signed-off-by Guenter Roeck <[email protected]>--- security/ipe/policy_tests.c | 1 + 1 file changed, 1 insertion(+)
I'm guessing Fan doesn't have his tree setup yet, but if I can get an ACK from Fan I can send this up via the LSM tree for the next v6.12-rcX release.
Quoted 12 lines
security/ipe/policy_tests.c +1
-0@@ -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 = {
Signature · 1 line
paul-moore.com
Fan Wu
Acked-byQuoted 29 lines · Paul Moore
Quoted 4 lines · Guenter Roeck
Add missing terminator to list of unit tests to avoid random crashes seen when running the test.
Quoted 8 lines
Fixes 10ca05a76065 ("ipe: kunit test for parser")Cc Deven Bowers <[email protected]>Cc Paul Moore <[email protected]>Cc Fan Wu <[email protected]>Signed-off-by Guenter Roeck <[email protected]>--- security/ipe/policy_tests.c | 1 + 1 file changed, 1 insertion(+)I'm guessing Fan doesn't have his tree setup yet, but if I can get an ACK from Fan I can send this up via the LSM tree for the next v6.12-rcX release.
Quoted 11 lines
security/ipe/policy_tests.c +1
-0@@ -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), + { } };
Quoted 2 lines
security/ipe/policy_tests.c static void ipe_parser_widestring_test(struct kunit *test) · line 292
Quoted 1 line
security/ipe/policy_tests.c +0
-0static struct kunit_suite ipe_parser_test_suite = {
Yes this looks good to me.
Paul Moore
maintainerQuoted 10 lines · On Sep 22, 2024 Guenter Roeck <[email protected]> wrote:
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 <[email protected]>Cc Paul Moore <[email protected]>Cc Fan Wu <[email protected]>Signed-off-by Guenter Roeck <[email protected]>Acked-by Fan Wu <[email protected]>
Quoted 3 lines
--- security/ipe/policy_tests.c | 1 + 1 file changed, 1 insertion(+)
Thanks, merged into lsm/stable-6.12.
--
paul-moore.com