git: 39a04a3f703e - stable/15 - exterr_test: loosen the error string pattern
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jan 2026 01:25:33 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=39a04a3f703e750b2eadf171fafc1690dbdee543
commit 39a04a3f703e750b2eadf171fafc1690dbdee543
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-12-28 03:35:03 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-01-05 00:44:20 +0000
exterr_test: loosen the error string pattern
(cherry picked from commit 543c86636f73119fa1dab860f07396df5a1884d4)
---
tests/sys/kern/exterr_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sys/kern/exterr_test.c b/tests/sys/kern/exterr_test.c
index 17c84c1f8ed4..b4746a485f58 100644
--- a/tests/sys/kern/exterr_test.c
+++ b/tests/sys/kern/exterr_test.c
@@ -51,7 +51,7 @@ ATF_TC_BODY(gettext_extended, tc)
ATF_CHECK_EQ(0, r);
printf("Extended error: %s\n", exterr);
/* Note: error string may need to be updated due to kernel changes */
- ATF_CHECK(strstr(exterr, "prot is not subset of max_prot") != 0);
+ ATF_CHECK(strstr(exterr, " is not subset of ") != 0);
}
ATF_TC(gettext_noextended);