1# test :
2#   info threads valgrind specific output
3#   the user can control-c an process with all threads in WaitSys
4#          and modify some variables
5#   the user can control-c an process with all threads in Running/Yielding
6#          and modify some variables
7# sleepers is started with argument so that it will compute during ages.
8# The variable modifications means it will exit in a reasonable time.
9# This test is disabled on Solaris because modifying select/poll/ppoll timeout
10# has no effect if a thread is already blocked in that syscall.
11prog: sleepers
12args: 1000000000 1000000000 1000000000 BSBSBSBS
13vgopts: --tool=none --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-nlcontrolc
14stderr_filter: filter_stderr
15# Bug 338633 nlcontrol hangs on arm64 currently.
16prereq: test -e gdb -a -f vgdb.invoker && ! ../tests/arch_test arm64 && ! ../tests/arch_test tilegx && ! ../tests/os_test solaris
17progB: gdb
18argsB: --quiet -l 60 --nx ./sleepers
19stdinB: nlcontrolc.stdinB.gdb
20stdoutB_filter: filter_gdb
21stderrB_filter: filter_make_empty
22