selftests/clone3: skip if clone3() is ENOSYS
If the clone3() syscall is not implemented we should skip the tests. Fixes:41585bbeee
("selftests: add tests for clone3() with *set_tid") Fixes:17a810699c
("selftests: add tests for clone3()") Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
@@ -131,6 +131,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
uid_t uid = getuid();
|
||||
|
||||
test_clone3_supported();
|
||||
ksft_print_header();
|
||||
ksft_set_plan(17);
|
||||
|
||||
|
Reference in New Issue
Block a user