strace/tests/munlockall.c
Fei Jie 01d16ccb96 tests: add munlockall.test
* tests/munlockall.c: New file.
* tests/munlockall.test: New test.
* tests/.gitignore: Add munlockall.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add munlockall.test.
2016-05-11 12:26:00 +00:00

14 lines
171 B
C

#include "tests.h"
#include <stdio.h>
#include <sys/mman.h>
int
main(void)
{
printf("munlockall() = %d\n", munlockall());
puts("+++ exited with 0 +++");
return 0;
}