diff options
| author | Adrian Reber <areber@redhat.com> | 2019-11-15 13:36:21 +0100 |
|---|---|---|
| committer | Christian Brauner <christian.brauner@ubuntu.com> | 2019-11-15 23:49:51 +0100 |
| commit | 41585bbeeef9402d5d65687747e04246ef4a3a41 (patch) | |
| tree | f77af763bae9cc64a23680b1f43321e88f9717e7 /tools/testing/selftests/clone3/Makefile | |
| parent | 49cb2fc42ce4b7a656ee605e30c302efaa39c1a7 (diff) | |
| download | blackbird-op-linux-41585bbeeef9402d5d65687747e04246ef4a3a41.tar.gz blackbird-op-linux-41585bbeeef9402d5d65687747e04246ef4a3a41.zip | |
selftests: add tests for clone3() with *set_tid
This tests clone3() with *set_tid to see if all desired PIDs are working
as expected. The tests are trying multiple invalid input parameters as
well as creating processes while specifying a certain PID in multiple
PID namespaces at the same time.
Additionally this moves common clone3() test code into clone3_selftests.h.
Signed-off-by: Adrian Reber <areber@redhat.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20191115123621.142252-2-areber@redhat.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'tools/testing/selftests/clone3/Makefile')
| -rw-r--r-- | tools/testing/selftests/clone3/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/clone3/Makefile b/tools/testing/selftests/clone3/Makefile index eb26eb793c80..cf976c732906 100644 --- a/tools/testing/selftests/clone3/Makefile +++ b/tools/testing/selftests/clone3/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 CFLAGS += -g -I../../../../usr/include/ -TEST_GEN_PROGS := clone3 clone3_clear_sighand +TEST_GEN_PROGS := clone3 clone3_clear_sighand clone3_set_tid include ../lib.mk |

