|
a/tests/mail/mail.sh |
|
b/tests/mail/mail.sh |
|
... |
|
... |
3 |
topdir=`dirname $0`/..
|
3 |
topdir=`dirname $0`/..
|
4 |
. $topdir/shared.sh
|
4 |
. $topdir/shared.sh
|
5 |
|
5 |
|
6 |
initvariables $0
|
6 |
initvariables $0
|
7 |
|
7 |
|
8 |
recollq Outmail_uniqueTerm > $mystdout 2> $mystderr
|
8 |
recollq Outmail_uniqueTerm 2> $mystderr |
|
|
|
9 |
egrep -v '^Recoll query: ' > $mystdout
|
9 |
recollq '"St Pierre en Chartreuse"' >> $mystdout 2>> $mystderr
|
10 |
recollq '"St Pierre en Chartreuse"' 2>> $mystderr |
|
|
|
11 |
egrep -v '^Recoll query: ' >> $mystdout
|
10 |
recollq HtmlAttachment_uniqueTerm >> $mystdout 2>> $mystderr
|
12 |
recollq HtmlAttachment_uniqueTerm 2>> $mystderr |
|
|
|
13 |
egrep -v '^Recoll query: ' >> $mystdout
|
11 |
recollq '"Dear Corporate Administrator"' >> $mystdout 2>> $mystderr
|
14 |
recollq '"Dear Corporate Administrator"' 2>> $mystderr |
|
|
|
15 |
egrep -v '^Recoll query: ' >> $mystdout
|
12 |
|
16 |
|
13 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
17 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
14 |
|
18 |
|
15 |
checkresult
|
19 |
checkresult
|