3 ###############################################################################
5 # Copyright © International Business Machines Corp., 2009
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
13 # Run tests in the current directory.
16 # Darren Hart <dvhart@linux.intel.com>
19 # 2009-Nov-9: Initial version by Darren Hart <dvhart@linux.intel.com>
20 # 2010-Jan-6: Add futex_wait_uninitialized_heap and futex_wait_private_mapped_file
21 # by KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
23 ###############################################################################
25 # Test for a color capable console
26 if [ -z "$USE_COLOR" ]; then
27 tput setf 7 || tput setaf 7
33 if [ "$USE_COLOR" -eq 1 ]; then
41 ./futex_requeue_pi $COLOR
42 ./futex_requeue_pi $COLOR -b
43 ./futex_requeue_pi $COLOR -b -l
44 ./futex_requeue_pi $COLOR -b -o
45 ./futex_requeue_pi $COLOR -l
46 ./futex_requeue_pi $COLOR -o
48 ./futex_requeue_pi $COLOR -b -l -t 5000
49 ./futex_requeue_pi $COLOR -l -t 5000
50 ./futex_requeue_pi $COLOR -b -l -t 500000
51 ./futex_requeue_pi $COLOR -l -t 500000
52 ./futex_requeue_pi $COLOR -b -t 5000
53 ./futex_requeue_pi $COLOR -t 5000
54 ./futex_requeue_pi $COLOR -b -t 500000
55 ./futex_requeue_pi $COLOR -t 500000
56 ./futex_requeue_pi $COLOR -b -o -t 5000
57 ./futex_requeue_pi $COLOR -l -t 5000
58 ./futex_requeue_pi $COLOR -b -o -t 500000
59 ./futex_requeue_pi $COLOR -l -t 500000
61 ./futex_requeue_pi $COLOR -b -l -t 2000000000
62 ./futex_requeue_pi $COLOR -l -t 2000000000
66 ./futex_requeue_pi_mismatched_ops $COLOR
69 ./futex_requeue_pi_signal_restart $COLOR
72 ./futex_wait_timeout $COLOR
75 ./futex_wait_wouldblock $COLOR
78 ./futex_wait_uninitialized_heap $COLOR
79 ./futex_wait_private_mapped_file $COLOR