~ubuntu-branches/ubuntu/trusty/dovecot/trusty-security

« back to all changes in this revision

Viewing changes to pigeonhole/tests/execute/actions.svtest

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-04-04 14:56:38 UTC
  • mfrom: (1.15.1) (4.1.26 sid)
  • Revision ID: package-import@ubuntu.com-20120404145638-qmvdul6vwpcqparv
Tags: 1:2.0.19-0ubuntu1
* New upstream release (LP: #970782).
* Merge from Debian testing, remaining changes:
  + Add mail-stack-delivery package:
    - Update d/rules
    - d/control: convert existing dovecot-postfix package to a dummy
      package and add new mail-stack-delivery package.
    - Update maintainer scripts.
    - Rename d/dovecot-postfix.* to debian/mail-stack-delivery.*
    - d/mail-stack-delivery.preinst: Move previously installed backups and
      config files to a new package namespace.
    - d/mail-stack-delivery.prerm: Added to handle downgrades.
  + Use Snakeoil SSL certificates by default:
    - d/control: Depend on ssl-cert.
    - d/dovecot-core.postinst: Relax grep for SSL_* a bit.
  + Add autopkgtest to debian/tests/*.
  + Add ufw integration:
    - d/dovecot-core.ufw.profile: new ufw profile.
    - d/rules: install profile in dovecot-core.
    - d/control: dovecot-core - suggest ufw.
  + d/{control,rules}: enable PIE hardening.
  + d/dovecot-core.dirs: Added usr/share/doc/dovecot-core
  + Add apport hook:
    - d/rules, d/source_dovecot.py
  + Add upstart job:
    - d/rules, d/dovecot-core.dovecot.upstart, d/control,
      d/dovecot-core.dirs, dovecot-imapd.{postrm, postinst, prerm},
      d/dovecot-pop3d.{postinst, postrm, prerm}.
      d/mail-stack-deliver.postinst:
      Convert init script to upstart.
  + d/patches/fix-racey-restart.patch: Backported patch from current
    development release which ensures all child processes terminate prior
    to the main dovecot process.
  + debian/patches/CVE-2011-4318.patch: Dropped - applied upstream
  + d/control: Added Pre-Depends: dpkg (>= 1.15.6) to dovecot-dbg to support
    xz compression in Ubuntu.
  + d/control: Demote dovecot-common Recommends: to Suggests: to prevent
    install of extra packages on upgrade.
* d/patches/dovecot-drac.patch: Updated with version for dovecot >= 2.0.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
        if not test_result_action :count "eq" :comparator "i;ascii-numeric" "3" {
27
27
                test_fail "wrong number of actions in result";
28
 
        }
 
28
        } 
29
29
 
30
30
        if not test_result_action :index 1 "store" {
31
31
                test_fail "first action is not 'store'";
32
 
        }
 
32
        } 
33
33
 
34
34
        if not test_result_action :index 2 "store" {
35
35
                test_fail "second action is not 'store'";
36
 
        }
 
36
        } 
37
37
 
38
38
        if not test_result_action :index 3 "keep" {
39
39
                test_fail "third action is not 'keep'";
40
 
        }
 
40
        } 
41
41
 
42
42
        if not test_result_execute {
43
43
                test_fail "result execute failed";
55
55
 
56
56
        if not test_result_action :count "eq" :comparator "i;ascii-numeric" "4" {
57
57
                test_fail "wrong number of actions in result";
58
 
        }
 
58
        } 
59
59
 
60
60
        if not test_result_action :index 1 "redirect" {
61
61
                test_fail "first action is not 'redirect'";
62
 
        }
 
62
        } 
63
63
 
64
64
        if not test_result_action :index 2 "keep" {
65
65
                test_fail "second action is not 'keep'";
66
 
        }
 
66
        } 
67
67
 
68
68
        if not test_result_action :index 3 "redirect" {
69
69
                test_fail "third action is not 'redirect'";
70
 
        }
 
70
        } 
71
71
 
72
72
        if not test_result_action :index 4 "redirect" {
73
73
                test_fail "fourth action is not 'redirect'";
74
 
        }
 
74
        } 
75
75
 
76
76
        if not test_result_execute {
77
77
                test_fail "result execute failed";
78
78
        }
79
79
}
 
80