test/pollfree: ignore run if argument is given
This test case doesn't use a passed in argument, so just skip the run
if one is given.
@@ -388,8 +388,12 @@ void execute_call(int call)
break;
}
}
-int main(void)
+
+int main(int argc, char *argv[])
{
+ if (argc > 1)
+ return 0;
+
syscall(__NR_mmap, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul);
syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul);
syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul);
