File: test-assertion5

package info (click to toggle)
keynote 2.3-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,372 kB
  • ctags: 329
  • sloc: sh: 6,540; ansic: 4,739; lex: 1,064; yacc: 783; makefile: 70
file content (12 lines) | stat: -rw-r--r-- 434 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
keynote-version: 2
authorizer: "Key5"
licensees: "Key6"
# this assertion will evaluate to "false" because of the conditions field value
conditions: app_domain == "testing" && request == "test" &&
		  variable == "no" -> "true";	# this clause won't match
	     app_domain == "testing" -> {
		app_domain == "testing" -> "false"; # this will match
		var == "no" -> { foo == "bar" ->
					"false"; # this won't match
							   };
					};