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

« back to all changes in this revision

Viewing changes to sieve/tests/extensions/relational/comparators.svtest

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short, Scott Kitterman
  • Date: 2010-06-22 10:33:51 UTC
  • mfrom: (1.13.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100622103351-ifbmnklp8kxrhb30
Tags: 1:1.2.12-0ubuntu1
* New upstream release:
  - deliver: Don't crash when a message with Auto-submitted: header gets
   rejected.
  - lib-storage: Fixed header searches to work correctly when there are
    multiple headers with same name.
  - dict client: Disconnect from dict server after 1 second of idling.
  - dict: If process crashed, it wasn't automatically restarted
  - dict file: If dict file's group permissions equal world permissions,
    don't try to change its gid.
  - maildir: Fixed a memory leak when copying with hardlinks.
  - maildir: Expunging last messages may have assert-crashed if their
    filenames had just changed.
 * Update sieve patch to 0.1.17
 * debian/dovecot-common.postinst: Add warning about expired certificate.
   (Debian Bug: #576455)
 * Silence lintian warnings.

 [Scott Kitterman]
 * Rename dovecot-postfix to mail-stack-delivery 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.*

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
        if not string :comparator "i;ascii-numeric" :value "eq" "0" "0" {
200
200
                test_fail "not '0' eq '0'";
201
201
        }
202
 
 
 
202
        
203
203
        /* Digit characters; basic comparison */
204
204
 
205
205
        if not string :comparator "i;ascii-numeric" :value "eq" "2" "2" {
208
208
 
209
209
        if not string :comparator "i;ascii-numeric" :value "gt" "2" "1" {
210
210
                test_fail "not '2' gt '1'";
211
 
        }
 
211
        }       
212
212
 
213
213
        if not string :comparator "i;ascii-numeric" :value "lt" "1" "2" {
214
214
                test_fail "not '1' lt '2'";
220
220
 
221
221
        if not string :comparator "i;ascii-numeric" :value "gt" "65635" "65535" {
222
222
                test_fail "not '65635' gt '65535'";
223
 
        }
 
223
        }       
224
224
 
225
225
        /* Digit characters; leading zeros */
226
226
 
227
227
        if not string :comparator "i;ascii-numeric" :value "eq" "0" "000" {
228
228
                test_fail "not '0' eq '000'";
229
 
        }
 
229
        }       
230
230
 
231
231
        if not string :comparator "i;ascii-numeric" :value "eq" "000" "0" {
232
232
                test_fail "not '0' eq '000'";
233
 
        }
 
233
        }       
234
234
 
235
235
        if not string :comparator "i;ascii-numeric" :value "eq" "02" "0002" {
236
236
                test_fail "not '02' eq '0002'";
237
 
        }
 
237
        }       
238
238
 
239
239
        if not string :comparator "i;ascii-numeric" :value "eq" "0002" "02" {
240
240
                test_fail "not '0002' eq '02'";
241
 
        }
 
241
        }       
242
242
 
243
243
        if not string :comparator "i;ascii-numeric" :value "gt" "2" "001" {
244
244
                test_fail "not '2' gt '001'";
245
 
        }
 
245
        }       
246
246
 
247
247
        if not string :comparator "i;ascii-numeric" :value "lt" "001" "2" {
248
248
                test_fail "not '001' lt '2'";
249
 
        }
 
249
        }       
250
250
 
251
251
        if not string :comparator "i;ascii-numeric" :value "gt" "002" "1" {
252
252
                test_fail "not '002' gt '1'";
253
 
        }
 
253
        }       
254
254
 
255
255
        if not string :comparator "i;ascii-numeric" :value "lt" "1" "002" {
256
256
                test_fail "not '1' lt '002'";
257
 
        }
 
257
        }       
258
258
}