File: compile.svtest

package info (click to toggle)
dovecot 1%3A2.1.7-7%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 33,368 kB
  • sloc: ansic: 284,478; sh: 23,068; makefile: 4,874; cpp: 1,381; perl: 263; xml: 45; python: 34; pascal: 27
file content (16 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require "vnd.dovecot.testsuite";

# Just test whether valid scripts will compile without problems

test "Trivial" {
	if not test_script_compile "trivial.sieve" {
		test_fail "could not compile";
	}
}

test "Redirect" {
	if not test_script_compile "redirect.sieve" {
		test_fail "could not compile";
	}
}