File: breakfor.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 (15 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
INCLUDE $TOP/test/config.htb

# runs exactly one time
CLIENT
_FOR I "a b c d e f"
_SET RET=$I
_IF "$I" EQUAL "c"
_BREAK
_END IF
_END FOR
_IF "$I" EQUAL "c"
_EXIT OK
_END IF
_EXIT FAILED
END