Re: [LTP] [PATCH] mail_tests.sh: fix a version problem of Heirloom Mail

Rishikesh K Rajak
2010-03-02T15:09:45Z

On Mon, Feb 22, 2010 at 04:28:25PM +0800, Shi Weihua wrote:
> >> There's a lot of noise in the patch because of if-else behavior in
> >> trying to determine the mail app. That's why I didn't commit this (it
> >> requires verification of previous mail applications as well).
> >
> > Thanks Garret, Still i have not committed this to CVS repo.
> >
> > Shi, can you please verify if this patch does not break with any other
> > mail application.
>
> In fact, i don't know any other mail application.
> When i tested RHEL's alpha version, this ltp bug catched. so tried to fix it.
>
> Maybe, you should knock FOSS community(?).
Hi Shi,

With Feb release still i am seeing some failure with mail file.

cmdline="export TCdat=$LTPROOT/testcases/bin; mail_tests.sh"
contacts=""
analysis=exit
<<<test_output>>>
mail_tests::setup 0 TINFO : INIT: Removing all mails for mail_test
and root
mail_tests::mail01 0 TINFO : Test #1: mail root@localhost will
send mail to root
mail_tests::mail01 0 TINFO : Test #1: user on local machine.
mail_tests::mail01 1 TPASS : Test #1: Mail was sent to root & was
received
mail_tests::mail02 0 TINFO : Test #2: mail user@bad-domain will
result in failure
mail_tests::mail02 0 TINFO : Test #2: to deliver the mail. Mailer
daemon should
mail_tests::mail02 0 TINFO : Test #2: report this failure.
mail_tests::mail02 2 TFAIL : Test #2: No new mail for root.
Reason:
No mail for root
mail_tests::mail03 0 TINFO : Test #3: mail
non_existent_user@localhost will fail
mail_tests::mail03 0 TINFO : Test #3: to deliver the mail. Mailer
daemon should
mail_tests::mail03 0 TINFO : Test #3: report this failure.
mail_tests::mail03 3 TFAIL : Test #3: No new mail for root.
Reason:
No mail for root
mail_tests::mail04 0 TINFO : Test #4: Test that mail -c
user@domain will
mail_tests::mail04 0 TINFO : Test #4: carbon copy user@domain
mail_tests::mail04 4 TPASS : Test #4: Mail was carbon copied to
user mail_test
mail_tests::mail05 0 TINFO : Test #5: Test that mail -b
user@domain will
mail_tests::mail05 0 TINFO : Test #5: blind carbon copy
user@domain
mail_tests::mail05 5 TPASS : Test #5: Mail was carbon copied to
user mail_test
mail_tests::cleanup 0 TINFO : Test CLEAN: Removing temporary files
from /tmp
mail_tests::cleanup 0 TINFO : Test CLEAN: Removing temporary user
mail_test
<<<execution_status>>>

Can you please look into it if possible? I have run this testcase on
SLES10.SP3GA & RHEL5.4 GA on x86_64 , ppc64 & s390x and everywhere same
result.

--
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net