From f6d0011c61db4eca11ed0bd9495537b3d858f965 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan@rename-it.nl> Date: Sun, 14 Sep 2008 20:42:14 +0200 Subject: [PATCH] Testsuite: added trivial reject action execution test. --- Makefile.am | 1 + tests/extensions/reject/execute.svtest | 11 +++++++++++ .../extensions/reject/execute/basic.sieve | 0 3 files changed, 12 insertions(+) create mode 100644 tests/extensions/reject/execute.svtest rename sieve/tests/reject.sieve => tests/extensions/reject/execute/basic.sieve (100%) diff --git a/Makefile.am b/Makefile.am index 8b9c364ac..43e40031b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,6 +46,7 @@ test_cases = \ tests/extensions/body/match-values.svtest \ tests/extensions/regex/basic.svtest \ tests/extensions/regex/errors.svtest \ + tests/extensions/reject/execute.svtest \ tests/extensions/relational/basic.svtest \ tests/extensions/relational/rfc.svtest \ tests/extensions/relational/errors.svtest \ diff --git a/tests/extensions/reject/execute.svtest b/tests/extensions/reject/execute.svtest new file mode 100644 index 000000000..e80fe1e27 --- /dev/null +++ b/tests/extensions/reject/execute.svtest @@ -0,0 +1,11 @@ +require "vnd.dovecot.testsuite"; + +test "Execute" { + if not test_compile "execute/basic.sieve" { + test_fail "compile failed"; + } + + if not test_execute { + test_fail "execute failed"; + } +} diff --git a/sieve/tests/reject.sieve b/tests/extensions/reject/execute/basic.sieve similarity index 100% rename from sieve/tests/reject.sieve rename to tests/extensions/reject/execute/basic.sieve -- GitLab