summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/clone3/clone3_set_tid.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-06-22 11:16:44 -0700
committerShuah Khan <skhan@linuxfoundation.org>2020-07-06 15:58:49 -0600
commit51ad5b54b61d67f6316795da3696c5163aa805cb (patch)
tree300680bea4618258a591e743851507d7973a92ef /tools/testing/selftests/clone3/clone3_set_tid.c
parent63aa57f52ce431682206f874a9d39a426e5ce7ea (diff)
downloadlinux-51ad5b54b61d67f6316795da3696c5163aa805cb.tar.bz2
selftests/clone3: Reorder reporting output
Selftest output reporting was happening before the TAP headers and plan had been emitted. Move the first test reports later. Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/clone3/clone3_set_tid.c')
-rw-r--r--tools/testing/selftests/clone3/clone3_set_tid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/clone3/clone3_set_tid.c b/tools/testing/selftests/clone3/clone3_set_tid.c
index 25beb22f35b5..5831c1082d6d 100644
--- a/tools/testing/selftests/clone3/clone3_set_tid.c
+++ b/tools/testing/selftests/clone3/clone3_set_tid.c
@@ -157,8 +157,8 @@ int main(int argc, char *argv[])
pid_t set_tid[MAX_PID_NS_LEVEL * 2];
ksft_print_header();
- test_clone3_supported();
ksft_set_plan(29);
+ test_clone3_supported();
if (pipe(pipe_1) < 0 || pipe(pipe_2) < 0)
ksft_exit_fail_msg("pipe() failed\n");