diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-10 12:45:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:11 -0500 |
commit | d82ed849cc3d0e9b3f97653664068faa9433c1df (patch) | |
tree | a04f1e24d646333983cd88bf6cf704687018c5c8 /source4/build/tests/shared_mmap.c | |
parent | 2e24543b2185a43c9d3c328ff3be9488a899c915 (diff) | |
download | samba-d82ed849cc3d0e9b3f97653664068faa9433c1df.tar.gz samba-d82ed849cc3d0e9b3f97653664068faa9433c1df.tar.bz2 samba-d82ed849cc3d0e9b3f97653664068faa9433c1df.zip |
r18337: more -Ae tests in check_cc.m4
honor the MMAP_BLACKLIST
(This used to be commit c2f2dbb5d1c082ee1391908073336a9dfc10f712)
Diffstat (limited to 'source4/build/tests/shared_mmap.c')
-rw-r--r-- | source4/build/tests/shared_mmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/tests/shared_mmap.c b/source4/build/tests/shared_mmap.c index 50dad8d696..40d462302e 100644 --- a/source4/build/tests/shared_mmap.c +++ b/source4/build/tests/shared_mmap.c @@ -39,6 +39,8 @@ main() MAP_FILE | MAP_SHARED, fd, 0); + if (buf == (int *)-1) exit(1); + while (count-- && buf[9124] != 55732) sleep(1); if (count <= 0) exit(1); |