Mercurial > masqmail
comparison tests/relay-to-localhost-mta/test.tpl @ 64:0379789a847b
improved comments in test cases
author | meillo@marmaro.de |
---|---|
date | Sun, 30 May 2010 16:52:35 +0200 |
parents | 49ca781e1503 |
children | 60bb2dbe2866 |
comparison
equal
deleted
inserted
replaced
63:49ca781e1503 | 64:0379789a847b |
---|---|
1 #! /bin/bash | 1 #!/bin/sh |
2 | 2 |
3 # should be run from within tests dir set if you move this: | 3 # path to the masqmail executable |
4 mm_bin=../../src/masqmail | 4 mm_bin=../../src/masqmail |
5 | 5 |
6 hfrom="\"Fritz Meier\" <`logname`@RECV_HOST>" | 6 hfrom="\"Fritz Meier\" <`logname`@RECV_HOST>" |
7 hto="$hfrom" | 7 hto="$hfrom" |
8 to=`logname`@RECV_HOST | 8 to=`logname`@RECV_HOST |
9 hsubject="MasqMail stdin Test" | 9 hsubject="Masqmail test: relay-to-localhost-mta" |
10 | 10 |
11 | 11 |
12 # Testing with rcpt on cmd line | 12 # Testing with rcpt on cmd line |
13 # (dot does end) | 13 # (dot does end) |
14 # | 14 # |
19 From: $hfrom | 19 From: $hfrom |
20 To: $hto | 20 To: $hto |
21 Subject: $hsubject | 21 Subject: $hsubject |
22 | 22 |
23 Hallo Fritz! | 23 Hallo Fritz! |
24 | |
25 .. | 24 .. |
26 there is a dot above (Yes, one and not two). | 25 there is a dot above (Yes, one and not two). |
27 | 26 |
28 command was: $cmd | 27 command was: $cmd |
29 | 28 |
30 Fritz | 29 Fritz |
31 . | 30 . |
32 | 31 |
33 EOF | 32 EOF |
34 | 33 |
35 # | 34 |
36 # Testing with rcpt on cmd line with -oi option | 35 # Testing with rcpt on cmd line with -oi option |
37 # (dot does not end) | 36 # (dot does not end) |
38 # | 37 # |
39 # the command to be run: | 38 # the command to be run: |
40 cmd="$mm_bin -C ./test.conf -oi $to" | 39 cmd="$mm_bin -C ./test.conf -oi $to" |
52 | 51 |
53 Fritz | 52 Fritz |
54 | 53 |
55 EOF | 54 EOF |
56 | 55 |
57 # | 56 |
58 # Testing with rcpt read from headers (-t option) | 57 # Testing with rcpt read from headers (-t option) |
59 # (dot does end) | 58 # (dot does end) |
60 # | 59 # |
61 # the command to be run: | 60 # the command to be run: |
62 cmd="$mm_bin -C ./test.conf -t" | 61 cmd="$mm_bin -C ./test.conf -t" |