This commit is contained in:
Nick Bebout 2011-03-12 02:44:40 +00:00
parent f854c1ea0a
commit bf62e181ca
6 changed files with 109 additions and 53 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
# $Id: tests.sh,v 1.77 2008/08/13 23:33:18 gilles Exp gilles $
# $Id: tests.sh,v 1.78 2008/08/16 15:54:40 gilles Exp gilles $
#### Shell pragmas
@ -648,6 +648,20 @@ ll_regex_flag()
}
ssl_justconnect() {
if test X`hostname` = X"plume"; then
echo3 Here is plume
$CMD_PERL ./imapsync \
--host1 localhost \
--host2 localhost \
--ssl1 --ssl2 \
--justconnect
else
:
fi
}
ll_ssl() {
if test X`hostname` = X"plume"; then
echo3 Here is plume
@ -756,6 +770,8 @@ ll_bigmail() {
}
msw() {
sendtestmessage toto@est.belle
scp imapsync Admin@192.168.68.77:'C:/msys/1.0/home/Admin/imapsync/imapsync'
@ -764,6 +780,30 @@ msw() {
gmail() {
if test X`hostname` = X"plume"; then
echo3 Here is plume
$CMD_PERL ./imapsync \
--host1 imap.gmail.com \
--ssl1 \
--user1 gilles.lamiral@gmail.com \
--passfile1 /var/tmp/secret.gilles_gmail \
--host2 localhost \
--ssl2 \
--user2 tata@est.belle \
--passfile2 /var/tmp/secret.tata \
--useheader 'Message-Id' --skipsize \
--regextrans2 's/\[Gmail\]/Gmail/' \
#--dry # --debug --debugimap # --authmech1 LOGIN
else
:
fi
}
##########################
# specific tests
##########################
@ -1033,6 +1073,8 @@ test $# -eq 0 && run_tests \
ll_delete2 \
ll_folderrec \
ll_bigmail \
gmail \
ssl_justconnect \
# msw