Skip to contentSkip to conversation

selftests-mm-mseal-self_elf-rename-test_end_check-to-report_test_pass.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jun 25, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: selftests/mm: mseal, self_elf: rename TEST_END_CHECK to REPORT_TEST_PASS
has been removed from the -mm tree. Its filename was
selftests-mm-mseal-self_elf-rename-test_end_check-to-report_test_pass.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: John Hubbard <[email protected]>
Subject: selftests/mm: mseal, self_elf: rename TEST_END_CHECK to REPORT_TEST_PASS
Date: Mon, 17 Jun 2024 19:24:19 -0700

Now that the test macros are factored out into their final location, and simplified, it's time to rename TEST_END_CHECK to something that represents its new functionality: REPORT_TEST_PASS.

---

 tools/testing/selftests/mm/mseal_helpers.h |    2 
 tools/testing/selftests/mm/mseal_test.c    |   92 +++++++++----------
 tools/testing/selftests/mm/seal_elf.c      |    2 
 3 files changed, 48 insertions(+), 48 deletions(-)
tools/testing/selftests/mm/mseal_helpers.h renamed from tools/testing/selftests/mm/mseal_helpers.h~selftests-mm-mseal-self_elf-rename-test_end_check-to-report_test_pass +1 -1
@@ -18,7 +18,7 @@
 		}							\
 	} while (0)
 
-#define TEST_END_CHECK() ksft_test_result_pass("%s\n", __func__)
+#define REPORT_TEST_PASS() ksft_test_result_pass("%s\n", __func__)
 
 #ifndef PKEY_DISABLE_ACCESS
 #define PKEY_DISABLE_ACCESS	0x1
tools/testing/selftests/mm/mseal_test.c renamed from tools/testing/selftests/mm/mseal_test.c~selftests-mm-mseal-self_elf-rename-test_end_check-to-report_test_pass +46 -46

368 lines not on this page · raw message

tools/testing/selftests/mm/seal_elf.c renamed from tools/testing/selftests/mm/seal_elf.c~selftests-mm-mseal-self_elf-rename-test_end_check-to-report_test_pass +1 -1
@@ -127,7 +127,7 @@ static void test_seal_elf(void)
 	FAIL_TEST_IF_FALSE(ret < 0);
 	ksft_print_msg("somestr is sealed, mprotect is rejected\n");
 
-	TEST_END_CHECK();
+	REPORT_TEST_PASS();
 }
 
 int main(int argc, char **argv)

_

Patches currently in -mm which might be from [email protected] are

selftests-mqueue-fix-5-warnings-about-signed-unsigned-mismatches.patch