diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-05 17:14:40 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-05 17:14:40 +0000 |
commit | 95a3f6485e0b03bf14e32cc856c4b2d9b224aae0 (patch) | |
tree | 556dab5a0bcb1b51f5edc6426a9d9f3676889083 /sieve/testsuite | |
parent | 35641de113fdf51ad6a107caa4a3bcdae3c51761 (diff) | |
download | mailutils-95a3f6485e0b03bf14e32cc856c4b2d9b224aae0.tar.gz mailutils-95a3f6485e0b03bf14e32cc856c4b2d9b224aae0.tar.bz2 |
put fileinto files to the spooldir (%)
Diffstat (limited to 'sieve/testsuite')
-rw-r--r-- | sieve/testsuite/scripts/rel-hairy.sv | 10 | ||||
-rw-r--r-- | sieve/testsuite/sieve/relational.exp | 22 |
2 files changed, 16 insertions, 16 deletions
diff --git a/sieve/testsuite/scripts/rel-hairy.sv b/sieve/testsuite/scripts/rel-hairy.sv index fbb95e6e5..a9c560da0 100644 --- a/sieve/testsuite/scripts/rel-hairy.sv +++ b/sieve/testsuite/scripts/rel-hairy.sv @@ -7,21 +7,21 @@ require ["relational", "comparator-i;ascii-numeric", "fileinto"]; if header :value "lt" :comparator "i;ascii-numeric" ["x-priority"] ["3"] { - fileinto "Priority"; + fileinto "%Priority"; } elsif address :count "gt" :comparator "i;ascii-numeric" ["to"] ["5"] { # everything with more than 5 recipients in the "to" field # is considered SPAM - fileinto "SPAM"; + fileinto "%SPAM"; } elsif address :value "gt" :all :comparator "i;ascii-casemap" ["from"] ["M"] { - fileinto "From_N-Z"; + fileinto "%From_N-Z"; } else { - fileinto "From_A-M"; + fileinto "%From_A-M"; } if allof (address :count "eq" :comparator "i;ascii-numeric" @@ -29,7 +29,7 @@ if allof (address :count "eq" :comparator "i;ascii-numeric" address :all :comparator "i;ascii-casemap" ["to", "cc"] ["me@foo.example.com.invalid"]) { - fileinto "Only_me"; + fileinto "%Only_me"; } # End of rel-hairy.sv diff --git a/sieve/testsuite/sieve/relational.exp b/sieve/testsuite/sieve/relational.exp index 740fc5506..da52005fb 100644 --- a/sieve/testsuite/sieve/relational.exp +++ b/sieve/testsuite/sieve/relational.exp @@ -28,15 +28,15 @@ sieve_test -f $MU_SPOOL_DIR/relational.mbox rel-address.sv -pattern \ "DISCARD on msg uid 9: marking as deleted" sieve_test -f $MU_SPOOL_DIR/relational.mbox rel-hairy.sv -pattern \ -"FILEINTO on msg uid 1: delivering into From_A-M"\ -"FILEINTO on msg uid 2: delivering into From_N-Z"\ -"FILEINTO on msg uid 3: delivering into Priority"\ -"FILEINTO on msg uid 4: delivering into Priority"\ -"FILEINTO on msg uid 5: delivering into Priority"\ -"FILEINTO on msg uid 6: delivering into From_A-M"\ -"FILEINTO on msg uid 7: delivering into From_A-M"\ -"FILEINTO on msg uid 8: delivering into From_A-M"\ -"FILEINTO on msg uid 8: delivering into Only_me"\ -"FILEINTO on msg uid 9: delivering into SPAM" +"FILEINTO on msg uid 1: delivering into %From_A-M"\ +"FILEINTO on msg uid 2: delivering into %From_N-Z"\ +"FILEINTO on msg uid 3: delivering into %Priority"\ +"FILEINTO on msg uid 4: delivering into %Priority"\ +"FILEINTO on msg uid 5: delivering into %Priority"\ +"FILEINTO on msg uid 6: delivering into %From_A-M"\ +"FILEINTO on msg uid 7: delivering into %From_A-M"\ +"FILEINTO on msg uid 8: delivering into %From_A-M"\ +"FILEINTO on msg uid 8: delivering into %Only_me"\ +"FILEINTO on msg uid 9: delivering into %SPAM" -# End of relational.exp
\ No newline at end of file +# End of relational.exp |