SF.net SVN: postfixadmin:[458] trunk/VIRTUAL_VACATION/tests/test.sh
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2008-09-03 08:45:27
|
Revision: 458 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=458&view=rev Author: GingerDog Date: 2008-09-03 08:45:34 +0000 (Wed, 03 Sep 2008) Log Message: ----------- test.sh: update to reflect that the parameters passed into the script are actually of the a#b...@au...d and not a@b Modified Paths: -------------- trunk/VIRTUAL_VACATION/tests/test.sh Modified: trunk/VIRTUAL_VACATION/tests/test.sh =================================================================== --- trunk/VIRTUAL_VACATION/tests/test.sh 2008-09-03 08:44:36 UTC (rev 457) +++ trunk/VIRTUAL_VACATION/tests/test.sh 2008-09-03 08:45:34 UTC (rev 458) @@ -21,12 +21,12 @@ echo echo "NONE OF THESE SHOULD RESULT IN MAIL BEING SENT" echo -cat mailing-list.txt | perl ../vacation.pl -t yes -f fw-general-return-20540-david=exa...@li... -- da...@ex... -cat test-email.txt | perl ../vacation.pl -t yes -f da...@ex... -- da...@ex... -cat spam.txt | perl ../vacation.pl -t yes -f ma...@cc... -- da...@ex... -cat asterisk-email.txt | perl ../vacation.pl -t yes -f www...@pa... -- da...@ex... -cat facebook.txt | perl ../vacation.pl -t yes -f not...@fa... -- da...@ex... -cat mail-myself.txt | perl ../vacation.pl -t yes -f da...@ex... -- da...@ex... +cat mailing-list.txt | perl ../vacation.pl -t yes -f fw-general-return-20540-david=exa...@li... -- david\#exa...@au... +cat test-email.txt | perl ../vacation.pl -t yes -f da...@ex... -- david\#exa...@au... +cat spam.txt | perl ../vacation.pl -t yes -f ma...@cc... -- david\#exa...@au... +cat asterisk-email.txt | perl ../vacation.pl -t yes -f www...@pa... -- david\#exa...@au... +cat facebook.txt | perl ../vacation.pl -t yes -f not...@fa... -- david\#exa...@au... +cat mail-myself.txt | perl ../vacation.pl -t yes -f da...@ex... -- david\#exa...@au... echo "INSERT INTO vacation (email, subject, body, created, active, domain) VALUES ('da...@ex...', 'I am on holiday', 'Yeah, that is right', NOW(), true, 'example.org')" | psql @@ -34,16 +34,16 @@ echo "VACATION TURNED ON " echo echo "Still ignore mailing list" -cat mailing-list.txt | perl ../vacation.pl -t yes -f fw-general-return-20540-david=exa...@li... -- da...@ex... +cat mailing-list.txt | perl ../vacation.pl -t yes -f fw-general-return-20540-david=exa...@li... -- david\#exa...@au... echo " * Should send vacation message for this *" -cat test-email.txt | perl ../vacation.pl -t yes -f da...@ex... -- da...@ex... +cat test-email.txt | perl ../vacation.pl -t yes -f da...@ex... -- david\#exa...@au... echo " * Spam - no vacation message for this" -cat spam.txt | perl ../vacation.pl -t yes -f ma...@xx... -- da...@ex... +cat spam.txt | perl ../vacation.pl -t yes -f ma...@xx... -- david\#exa...@au... echo " * OK - should send vacation message for this" -cat asterisk-email.txt | perl ../vacation.pl -t yes -f www...@pa... -- da...@ex... +cat asterisk-email.txt | perl ../vacation.pl -t yes -f www...@pa... -- david\#exa...@au... echo " * Facebook - should not send vacation message for" -cat facebook.txt | perl ../vacation.pl -t yes -f not...@fa... -- da...@ex... +cat facebook.txt | perl ../vacation.pl -t yes -f not...@fa... -- david\#exa...@au... echo " * Mailing myself - should not send vacation message" -cat mail-myself.txt | perl ../vacation.pl -t yes -f da...@ex... -- da...@ex... +cat mail-myself.txt | perl ../vacation.pl -t yes -f da...@ex... -- david\#exa...@au... echo echo This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |