exterr_test: loosen the error string pattern
After addition of the prot and max_prot values, the old error substring no longer satisfy the check. Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54380
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user