This commit is contained in:
Nick Bebout 2011-03-12 02:44:39 +00:00
parent 1f4db27b3d
commit f854c1ea0a
11 changed files with 366 additions and 36461 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
# $Id: tests.sh,v 1.73 2008/05/08 02:10:31 gilles Exp gilles $
# $Id: tests.sh,v 1.77 2008/08/13 23:33:18 gilles Exp gilles $
#### Shell pragmas
@ -244,6 +244,22 @@ ll_internaldate() {
}
ll_idatefromheader() {
if test X`hostname` = X"plume"; then
echo3 Here is plume
sendtestmessage
$CMD_PERL ./imapsync \
--host1 localhost --user1 tata@est.belle \
--passfile1 /var/tmp/secret.tata \
--host2 localhost --user2 titi@est.belle \
--passfile2 /var/tmp/secret.titi \
--folder INBOX.oneemail \
--idatefromheader --debug --dry
else
:
fi
}
ll_folder_rev() {
@ -557,6 +573,7 @@ ll_regexmess()
{
if test X`hostname` = X"plume"; then
echo3 Here is plume
rm -f /home/vmail/titi/.yop.yap/cur/*
$CMD_PERL ./imapsync \
--host1 localhost --user1 tata@est.belle \
--passfile1 /var/tmp/secret.tata \
@ -565,8 +582,10 @@ ll_regexmess()
--folder INBOX.yop.yap \
--regexmess 's/\157/O/g' \
--regexmess 's/p/Z/g' \
--dry --debug
echo 'rm /home/vmail/titi/.yop.yap/cur/*'
--debug
file=`ls -t /home/vmail/titi/.yop.yap/cur/* | tail -1`
diff /var/tmp/imapsync/tests/ll_regexmess/dest_01 $file
#echo 'rm -f /home/vmail/titi/.yop.yap/cur/*'
else
:
fi
@ -744,6 +763,7 @@ msw() {
}
##########################
# specific tests
##########################
@ -980,6 +1000,7 @@ test $# -eq 0 && run_tests \
ll_justfolders \
ll_prefix12 \
ll_internaldate \
ll_idatefromheader \
ll_folder_rev \
ll_subscribed \
ll_subscribe \