File: if_local_vars.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-- 210 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

BLOCK foo
_LOCAL A B C
_SET A=foo
_SET B=bar
_SET C=bla
_IF "$A" EQUAL "foo"
  _IF "$B" EQUAL "bar"
    _IF "$C" EQUAL "bla"
      _EXIT OK
    _END IF
  _END IF
_END IF
_EXIT FAILED
END

CLIENT
_CALL foo
END