Skip to contentSkip to conversation

mail_tests.sh: fix a version problem of Heirloom Mail

PATCH Rishikesh 3 participants 7 messages Feb 17, 2010 – Mar 4, 2010

lore
Share & tools
lore

Rishikesh

author Acked-by
#0 lore raw

Hi Shi,

Thanks for your patch . It will be merged in feb 2010 release.

http://marc.info/?l=ltp-list&m=126440546415559&w=2

Signature · 15 lines
Thanks&  Regards
Rishi Kesh K Rajak
IBM LTC, Bangalore
LTP Maintainer
Please join IRC: #ltp @ freenode.net


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 7 lines · Rishikesh

Hi Shi,

Thanks for your patch . It will be merged in feb 2010 release.

http://marc.info/?l=ltp-list&m=126440546415559&w=2

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).

The mail test should be resistant to changes like these as a lot of developers in the FOSS community have different opinions on how to do things and don't follow any particular standard. This `heirloom mailx' support is just one said example that needs to be fixed.

Thanks,
-Garrett

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 5 lines · Garrett Cooper
Quoted 4 lines · Rishikesh

Hi Shi,

Thanks for your patch . It will be merged in feb 2010 release.

Quoted 7 lines
Quoted 3 lines

http://marc.info/?l=ltp-list&m=126440546415559&w=2

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.

Thanks for your support.
-Rishi

Quoted 8 lines

The mail test should be resistant to changes like these as a lot of developers in the FOSS community have different opinions on how to do things and don't follow any particular standard. This `heirloom mailx' support is just one said example that needs to be fixed.

Thanks,
-Garrett

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#3 lore raw
Quoted 10 lines · Rishikesh K Rajak
Quoted 9 lines · Garrett Cooper
Quoted 7 lines · Rishikesh

Hi Shi,

Thanks for your patch . It will be merged in feb 2010 release.

http://marc.info/?l=ltp-list&m=126440546415559&w=2

Quoted 8 lines
Quoted 3 lines

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(?).

Quoted 13 lines

Thanks for your support.
-Rishi

Quoted 8 lines

The mail test should be resistant to changes like these as a lot of developers in the FOSS community have different opinions on how to do things and don't follow any particular standard. This `heirloom mailx' support is just one said example that needs to be fixed.

Thanks,
-Garrett

Signature · 12 lines
Shi Weihua

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#4 lore raw
Quoted 6 lines · Shi Weihua
Quoted 6 lines
Quoted 3 lines

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.

Quoted 7 lines
Quoted 2 lines

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.

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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#5 lore raw

On Mar 2, 2010, at 6:46 AM, Rishikesh K Rajak <[email protected]

Quoted 73 lines

wrote:

Quoted 11 lines · Shi Weihua
Quoted 10 lines
Quoted 4 lines

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.

Quoted 5 lines

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>>>

Quoted 4 lines

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.

Same here on Gentoo Linux before and after my cleanup to the test.

Thanks,
-Garrett

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#6 lore raw
Quoted 66 lines · Garrett Cooper
Quoted 63 lines · Rishikesh K Rajak
Quoted 6 lines · Shi Weihua
Quoted 6 lines
Quoted 3 lines

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.

Quoted 8 lines
Quoted 2 lines

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>>>

Quoted 5 lines
Quoted 3 lines

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.

Same here on Gentoo Linux before and after my cleanup to the test.

This fail message is same as my message which outputed on RHEL6alpha3 at 2009.12.

Quoted 3 lines
Quoted 3 lines

mail_tests::mail03 3 TFAIL : Test #3: No new mail for root.
Reason:
No mail for root

The mailx version on your system is "Heirloom Mail" ? you can get the version by a command of echo "d" | mail -u root.

If it's "Heirloom Mail", you should accept my patch.

	http://marc.info/?l=ltp-list&m=126440546415559&w=2

If it's other mailx, please give me the output of echo "d" | mail -u root, let's try to fix it.

-Shi Weihua

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list