summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/extensions/enotify/basic.svtest
blob: 2a03aeea2ea5afd2c92d6ad0146b1d69f6c86b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require "vnd.dovecot.testsuite";
require "enotify";

test "Execute" {
	/* Test to catch runtime segfaults */
	if valid_notify_method
		"mailto:stephan@example.com" {

		/* Test to catch runtime segfaults */
		notify
			:message "This is probably very important"
			:importance "1"
			"mailto:stephan@example.com%2cstephan@example.org?subject=Important%20message%20received";
	}
}