Page MenuHomeFreeBSD

D34960.id105169.diff
No OneTemporary

D34960.id105169.diff

Index: tests/sys/posixshm/posixshm_test.c
===================================================================
--- tests/sys/posixshm/posixshm_test.c
+++ tests/sys/posixshm/posixshm_test.c
@@ -1251,7 +1251,11 @@
struct shm_largepage_conf lpc;
char *addr, *buf;
size_t ps[MAXPAGESIZES + 1]; /* silence warnings if MAXPAGESIZES == 1 */
- int error, fd;
+ int error, fd, pscnt;
+
+ pscnt = pagesizes(ps);
+ if (pscnt < 2)
+ atf_tc_skip("no large page support");
fd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0);
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; error=%d", errno);

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 17, 11:16 PM (5 m, 17 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15472357
Default Alt Text
D34960.id105169.diff (579 B)

Event Timeline