File: exec_threaded.htt

package info (click to toggle)
httest 2.4.23-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,876 kB
  • sloc: ansic: 19,553; sh: 10,550; xml: 1,047; makefile: 510; lisp: 145; perl: 31
file content (19 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# mac: ulimit -S -n 2048
# win: test seems then to proceed normally, but then hangs
# after printing a number of <foo's.
@:SKIP $OS win # FIXME hangs until timeout

INCLUDE $TOP/test/config.htb

BLOCK doCallExec
  _EXEC echo foo 
  _MATCH Exec "(.*)" FOO
  _EXEC date +%g%j%H%M%N
END

CLIENT 100
_EXEC sleep 30 &
_LOOP 10
  doCallExec
_END
END