3 #include "tests/main.h"
8 char *data = (char *) 0x7f000000;
11 CHECK (create ("empty", 0), "create empty file \"empty\"");
12 CHECK ((handle = open ("empty")) > 1, "open \"empty\"");
14 /* Calling mmap() might succeed or fail. We don't care. */
15 msg ("mmap \"empty\"");
18 /* Regardless of whether the call worked, *data should cause
19 the process to be terminated. */
20 fail ("unmapped memory is readable (%d)", *data);