int main(int argc, char **argv) { int ret = 0; ret += test_mlock_lock(); ret += test_mlock_onfault(); ret += test_munlockall(); ret += test_lock_onfault_of_present(); ret += test_vma_management(true); ret += test_mlockall(test_vma_management); return ret; }
int run(void) { test_madvise(); test_mincore(); test_mlock(); test_munlock(); test_mlockall(); test_munlockall(); test_getpid(); test_getppid(); /* Run tests in other component. */ other_call(); printf("All OK\n"); return 0; }