strace/tests/mmap64.test
Dmitry V. Levin e7d671bd4a tests: add a test for mmap/mprotect/munmap decoding
* tests/mmap.c: New file.
* tests/mmap64.c: New file.
* tests/mmap.test: New test.
* tests/mmap64.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add mmap and mmap64.
(mmap64_CFLAGS): Define.
(TESTS): Add mmap.test and mmap64.test.
* tests/.gitignore: Add mmap and mmap64.
2015-03-20 02:15:11 +00:00

7 lines
148 B
Bash
Executable File

#!/bin/sh
# Check mmap/mprotect/munmap syscalls decoding.
# Target executable was compiled with -D_FILE_OFFSET_BITS=64.
. "${srcdir=.}/mmap.test"