Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171391125
D27564.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
748 B
Referenced Files
None
Subscribers
None
D27564.diff
View Options
Index: head/tests/sys/posixshm/posixshm_test.c
===================================================================
--- head/tests/sys/posixshm/posixshm_test.c
+++ head/tests/sys/posixshm/posixshm_test.c
@@ -1322,7 +1322,6 @@
error = sysctlbyname("vm.max_user_wired", &max_wired, &sz, NULL, 0);
ATF_REQUIRE_MSG(error == 0,
"sysctlbyname(vm.max_user_wired) failed; error=%d", errno);
- ATF_REQUIRE(max_wired >= 0);
sz = sizeof(wired);
error = sysctlbyname("vm.stats.vm.v_user_wire_count", &wired, &sz, NULL,
@@ -1330,7 +1329,6 @@
ATF_REQUIRE_MSG(error == 0,
"sysctlbyname(vm.stats.vm.v_user_wire_count) failed; error=%d",
errno);
- ATF_REQUIRE(wired >= 0);
pscnt = pagesizes(ps);
for (int i = 1; i < pscnt; i++) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 11, 9:20 PM (8 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38686223
Default Alt Text
D27564.diff (748 B)
Attached To
Mode
D27564: posixshm_test.c: tautology in test
Attached
Detach File
Event Timeline
Log In to Comment