File: limited-drift.sh

package info (click to toggle)
netclient 0.91-10
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,096 kB
  • ctags: 1,539
  • sloc: ml: 8,808; sh: 527; makefile: 203
file content (20 lines) | stat: -rw-r--r-- 710 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
. helpers.sh

# This is only a weak test; you must inspect the log files to see if it has
# been passed.
# It shows: The client tolerates only five unreplied requests, and then
# waits first until some response before further requests are initiated.

start_test_server \
    -line 1 -file data/framed \
    -line 30 -file data/framed \
    -line 30 -file data/framed \
    -line 30 -file data/framed \
    -line 30 -file data/framed \
    -line 30 -file data/framed \
    -line 35 -file data/framed \
    -line 40 -file data/framed \
    -line 45 -file data/framed \
    -line 50 -file data/framed
trap "stop_test_server" EXIT
request -get / -get / -get / -get / -get / -get / -get / -get / -get / -get / -run