[exim-cvs] cvs commit: exim/exim-test/scripts/0000-Basic 042…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: exim-cvs
Sujet: [exim-cvs] cvs commit: exim/exim-test/scripts/0000-Basic 0427 exim/exim-test/stdout 0427
fanf2 2008/02/08 11:36:54 GMT

  Modified files:
    exim-test/scripts/0000-Basic 0427 
    exim-test/stdout     0427 
  Log:
  A test for the encoded-character extention.


  Revision  Changes    Path
  1.3       +7 -0      exim/exim-test/scripts/0000-Basic/0427
  1.4       +6 -0      exim/exim-test/stdout/0427


  Index: 0427
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/scripts/0000-Basic/0427,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- 0427    1 Mar 2006 10:40:03 -0000    1.2
  +++ 0427    8 Feb 2008 11:36:54 -0000    1.3
  @@ -311,6 +311,13 @@
   ****
   catwrite test-data
   # Sieve filter
  +require "encoded-character";
  +if not header :matches "x-special1" "*${hex:00}*" { discard; }
  +****
  +exim -bf test-data <aux-fixed/TESTNUM.message
  +****
  +catwrite test-data
  +# Sieve filter
   if not header :matches "x-special2" "\\?*\\*" { discard; }
   ****
   exim -bf test-data <aux-fixed/TESTNUM.message


  Index: 0427
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/stdout/0427,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- 0427    7 Feb 2008 19:38:21 -0000    1.3
  +++ 0427    8 Feb 2008 11:36:54 -0000    1.4
  @@ -259,6 +259,12 @@
   No implicit keep
   ==========
   # Sieve filter
  +require "encoded-character";
  +if not header :matches "x-special1" "*${hex:00}*" { discard; }
  +==========
  +Implicit keep
  +==========
  +# Sieve filter
   if not header :matches "x-special2" "\\?*\\*" { discard; }
   ==========
   No implicit keep