hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /******************************************************************************
23 *
34 * Copyright FUJITSU LIMITED 2010
45 * Copyright KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
106 *
117 * DESCRIPTION
128 * Wait on uninitialized heap. It shold be zero and FUTEX_WAIT should
....@@ -100,6 +96,7 @@
10096 }
10197
10298 ksft_print_header();
99
+ ksft_set_plan(1);
103100 ksft_print_msg("%s: Test the uninitialized futex value in FUTEX_WAIT\n",
104101 basename(argv[0]));
105102