hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/tools/testing/selftests/futex/functional/futex_wait_wouldblock.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 * Test if FUTEX_WAIT op returns -EWOULDBLOCK if the futex value differs
....@@ -65,6 +61,7 @@
6561 }
6662
6763 ksft_print_header();
64
+ ksft_set_plan(1);
6865 ksft_print_msg("%s: Test the unexpected futex value in FUTEX_WAIT\n",
6966 basename(argv[0]));
7067