folly/test: correct an erroneous test for failed mmap
Summary: * folly/test/AtomicHashArrayTest.cpp (MmapAllocator): Upon failure, mmap returns MAP_FAILED, not NULL. Test Plan: fbconfig -r folly/test:atomic_hash_array_test && fbmake runtests Reviewed By: mwang@fb.com FB internal diff: D1481080 Tasks: 4846893
Showing
Please register or sign in to comment