]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/clone3: skip if clone3() is ENOSYS
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 18 Nov 2019 07:49:44 +0000 (08:49 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 18 Nov 2019 07:59:03 +0000 (08:59 +0100)
commit6618298c0d6288124eef1085317374c247a759e4
treea6469cc26af328bb9df220ec19732d1332d1390b
parent6b319719dd324d4b9c7e55c478ebe4033b036909
selftests/clone3: skip if clone3() is ENOSYS

If the clone3() syscall is not implemented we should skip the tests.

Fixes: 7bbb67ce5093 ("selftests: add tests for clone3() with *set_tid")
Fixes: df6e0f4f7392 ("selftests: add tests for clone3()")
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
tools/testing/selftests/clone3/clone3.c
tools/testing/selftests/clone3/clone3_clear_sighand.c
tools/testing/selftests/clone3/clone3_selftests.h
tools/testing/selftests/clone3/clone3_set_tid.c