summaryrefslogtreecommitdiff
path: root/sieve/examples/Test
blob: 0604629173fef5795cfa15b1955194647df55595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

#   set -x

    cp INBOX.orig INBOX

    echo == Parse testing
    for t in ex-*.sv
    do
    	echo Test: $t
    	../sieve -c $t
    done

    for t in exn-*.sv
    do
    	echo Test: $t might fail
	#../sieve -ncv -f ./INBOX $t || true
    done

    echo == Action testing
    for t in ex-*.sv
    do
    	cp INBOX.orig INBOX
    	echo
    	echo Test: $t
    	../sieve -f ./INBOX $t
    done

Return to:

Send suggestions and report system problems to the System administrator.