hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/tools/testing/selftests/futex/functional/futex_wait_timeout.c
....@@ -1,11 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /******************************************************************************
23 *
34 * Copyright © International Business Machines Corp., 2009
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
95 *
106 * DESCRIPTION
117 * Block on a futex and wait for timeout.
....@@ -69,6 +65,7 @@
6965 }
7066
7167 ksft_print_header();
68
+ ksft_set_plan(1);
7269 ksft_print_msg("%s: Block on a futex and wait for timeout\n",
7370 basename(argv[0]));
7471 ksft_print_msg("\tArguments: timeout=%ldns\n", timeout_ns);