summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/if-rcode-error
blob: fed8a49d32b70c0adcce8d7bd42ff47a635ea27d (plain)
1
2
3
4
5
6
7
8
9
10
11
# PRE: if
#
#  return code in an "if" section.
#
if (User-Name == "bob") {
	update reply {
		Filter-Id := "filter"
	}

	ok = reject	# ERROR
}