~ubuntu-branches/ubuntu/quantal/dovecot/quantal

« back to all changes in this revision

Viewing changes to sieve/tests/extensions/variables/modifiers.svtest

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-29 09:21:32 UTC
  • mfrom: (4.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20100629092132-q4pr5lfuvmjqou19
Tags: 1:1.2.12-1ubuntu1
* Merge from Debian Unstable, remaining changes:
  + Add mail-stack-delivery as per server-maverick-mail-integration spec:
   - Update debian/rules
   - Convert existing package to a dummy package and add new binary in debian/control
   - Update maintainer scripts.
   - Move previously installed backups and config files to new package name
     space in preinst
   - Add new debian/mail-stack-delivery.prerm to handle downgrades
   - Rename debian/dovecot-postfix.* to debian/mail-stack-delivery.*
  + Use Snakeoil SSL certificates by default.
    - debian/control: Depend on ssl-cert.
    - debian/patches/ssl-cert-snakeoil.dpatch: Change default SSL cert paths to snakeoil.
    - debian/dovecot-common.postinst: Relax grep for SSL_* a bit.
  + Add autopkgtest to debian/tests/*.
  + Add ufw integration:
    - Created debian/dovecot-common.ufw.profile.
    - debian/rules: install profile.
    - debian/control: suggest ufw.
  + debian/{control,rules}: enable PIE hardening.
  + debian/control: Update Vcs-* headers.
  + Add SMTP-AUTH support for Outlook (login auth mechanism) 
  + debian/dovecot-common.dirs: Added usr/share/doc/dovecot-common
  + debian/patches/fix-dovecot-config-parser.patch: Fix ordering of external config 
    files. (LP: #597818)

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
        if not string "${a}" "juMBlEd lETteRS" {
113
113
                test_fail "modified assignment failed (1): ${a}";
114
114
        }
115
 
        
 
115
 
116
116
        set :length "b" "${a}";                # => "15"
117
117
        if not string "${b}" "15" {
118
118
                test_fail "modified assignment failed (2): ${a}";
119
119
        }
120
 
        
 
120
 
121
121
        set :lower "b" "${a}";                 #  => "jumbled letters"
122
122
        if not string "${b}" "jumbled letters" {
123
123
                test_fail "modified assignment failed (3): ${a}";
124
124
        }
125
 
        
 
125
 
126
126
    set :upperfirst "b" "${a}";            # => "JuMBlEd lETteRS"
127
127
        if not string "${b}" "JuMBlEd lETteRS" {
128
128
                test_fail "modified assignment failed (4): ${a}";
129
129
        }
130
 
        
 
130
 
131
131
        set :upperfirst :lower "b" "${a}";     # => "Jumbled letters"
132
132
        if not string "${b}" "Jumbled letters" {
133
133
                test_fail "modified assignment failed (5): ${a}";
134
134
        }
135
 
        
 
135
 
136
136
        set :quotewildcard "b" "Rock*";        # => "Rock\*"
137
137
        if not string "${b}" "Rock\\*" {
138
138
                test_fail "modified assignment failed (6): ${a}";
139
 
        }       
 
139
        }
140
140
}