2 # SPDX-License-Identifier: GPL-2.0-or-later
4 ###############################################################################
6 # Copyright © International Business Machines Corp., 2009
9 # Run tests in the current directory.
12 # Darren Hart <dvhart@linux.intel.com>
15 # 2009-Nov-9: Initial version by Darren Hart <dvhart@linux.intel.com>
16 # 2010-Jan-6: Add futex_wait_uninitialized_heap and futex_wait_private_mapped_file
17 # by KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
19 ###############################################################################
21 # Test for a color capable console
22 if [ -z "$USE_COLOR" ]; then
23 tput setf 7 || tput setaf 7
29 if [ "$USE_COLOR" -eq 1 ]; then
37 ./futex_requeue_pi $COLOR
38 ./futex_requeue_pi $COLOR -b
39 ./futex_requeue_pi $COLOR -b -l
40 ./futex_requeue_pi $COLOR -b -o
41 ./futex_requeue_pi $COLOR -l
42 ./futex_requeue_pi $COLOR -o
44 ./futex_requeue_pi $COLOR -b -l -t 5000
45 ./futex_requeue_pi $COLOR -l -t 5000
46 ./futex_requeue_pi $COLOR -b -l -t 500000
47 ./futex_requeue_pi $COLOR -l -t 500000
48 ./futex_requeue_pi $COLOR -b -t 5000
49 ./futex_requeue_pi $COLOR -t 5000
50 ./futex_requeue_pi $COLOR -b -t 500000
51 ./futex_requeue_pi $COLOR -t 500000
52 ./futex_requeue_pi $COLOR -b -o -t 5000
53 ./futex_requeue_pi $COLOR -l -t 5000
54 ./futex_requeue_pi $COLOR -b -o -t 500000
55 ./futex_requeue_pi $COLOR -l -t 500000
57 ./futex_requeue_pi $COLOR -b -l -t 2000000000
58 ./futex_requeue_pi $COLOR -l -t 2000000000
62 ./futex_requeue_pi_mismatched_ops $COLOR
65 ./futex_requeue_pi_signal_restart $COLOR
68 ./futex_wait_timeout $COLOR
71 ./futex_wait_wouldblock $COLOR
74 ./futex_wait_uninitialized_heap $COLOR
75 ./futex_wait_private_mapped_file $COLOR