History log of /external/ltp/testcases/commands/mail/mail_tests.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/commands/mail/mail_tests.sh
37550cf5a86c7ca7424a2a318dd64e550f13f5df 18-Oct-2012 Chris Dearman <chris@mips.com> Remove whitespace at end of line

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e 's/[\t ]*$//'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/commands/mail/mail_tests.sh
65a42ec63f9e28fb3ff3edfaa5b045e3410f4af3 23-Feb-2011 Garrett Cooper <yanegomi@gmail.com> Deal with inconsistent sender names in mail0[23].

mail02 and mail03 tests non-existed host and non-existed
username in the test. However in some systems (at least in RHEL6),
they both fails because of the sender name of the returned letter is
"Mail Deliver System" instead of "Mail Delivery Subsys", which makes RC1
to be zero and fail the test. The patch fixes this issue.

Signed-off-by: Caspar Zhang <czhang@redhat.com>
/external/ltp/testcases/commands/mail/mail_tests.sh
73c785ff2eb296091d06d3b7184bddf9bec8ec7e 14-Jun-2010 Subrata Modak <subratamodak@subratamodak.linux.ibm.com> I want to suggest a patch for #2 test of "mail_tests.sh". The failure of #2 is as following:
------------
mail_tests::mail02 0 TINFO : Test #2: mail u...@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
------------
I use RHEL5.4, RHEL4.8 systems and x86, x86_64, ia64 architectures. "#2" test failed in all combinations. At "#2" test, there is "No mail for root" in "tst_mail.res" file. I want to add this condition to judgment for "tst_mail.res". The other day, I made a question whether #2 test failed or not in other systems. -->http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg10184.html. But I have received no reply yet. Therefore I don't know about other systems, and I made this revision to become effective for only RHEL systems. Signed-off-by: Tomonori Mitani <mitani@ryobi.co.jp>.
/external/ltp/testcases/commands/mail/mail_tests.sh
1ff0128460531d9f9c46353eba65dd79ca27bbc8 15-Apr-2010 Garrett Cooper <yanegomi@gmail.com> Correct comment so that it filters its way up to next (eventually).

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/commands/mail/mail_tests.sh
36e9e44491335006055b95439a2a0c8431b5ae6b 25-Feb-2010 Garrett Cooper <yanegomi@gmail.com> Fix typo.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/commands/mail/mail_tests.sh
be744dab2bad95fa15ebe1b2fa17eca9252d97c3 25-Feb-2010 Garrett Cooper <yanegomi@gmail.com> Clean up the test.. It was a royal mess before.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/commands/mail/mail_tests.sh
77312d8f35ad3c516636bce1401c78ac09e08a5f 17-Feb-2010 Rishikesh K Rajak <rishikesh@rishikesh.in.ibm.com> In the previous mailx version, the command "echo "d" | mail -u root" will
output like the following.
-----------------------------
Mail version 8.1 6/6/93. Type ? for help.
"/var/mail/root": 1 message 1 new
>N 1 MAILER-DAEMON@localh Mon Jan 25 09:11 63/2367 "Returned mail: see tr"
-----------------------------

Buy in Heirloom Mail, the command will output.
-----------------------------
Heirloom Mail version 12.4 7/29/08. Type ? for help.
"/var/mail/root": 1 message 1 new
>N 1 Mail Delivery Subsys Mon Jan 25 14:16 67/2195 "Returned mail: see tr"
-----------------------------

"MAILER-DAEMON@localh" is been changed to "Mail Delivery Subsys".
We should make mail_tests.sh to supporting Heirloom Mail.

Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>
/external/ltp/testcases/commands/mail/mail_tests.sh
8eb5a850ec1a9fdcce3f2396c0c73604c6150654 16-Nov-2009 subrata_modak <subrata_modak> mail: fix the bug of mail01: In the testcase "mail01", when mail is send to nosuchuser@domain and mail is send to user@nosuchdomain, mail program may return either "Returnedmail:" or "UndeliveredMailReturned", regardless of the existence of /etc/redhat-release. So, we did a bit of changes to recognize both of returned values. This patch fixes the problem. Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>.
/external/ltp/testcases/commands/mail/mail_tests.sh
97544a13115d23e88a9bc10fd5304a4a621f84c1 26-Oct-2009 subrata_modak <subrata_modak> Some fixes of shell scripts of tests: this patch fixes some minor bugs in the code of LTP shell scripts:
- quote arguments of test(1) in some places concerning redhat detection,
- don't execute the result of type(1), it makes no sense - even more when the output of it should be redirected,
Signed-off-by: Jiri Palecek <jpalecek@web.de>.
/external/ltp/testcases/commands/mail/mail_tests.sh
8265619a2f2c147845c1b01f67879e1a41bf7c38 28-Aug-2009 subrata_modak <subrata_modak> Fix mail_tests for systems without mail installed: Worse, as $MAIL_NOT_INSTALLED is always "0" or "1", -z always return false...`-z' tests for a string length of zero, not for a zero value, causing the test always to return false. Initialize $MAIL_NOT_INSTALLED to an empty string instead of a numerical zero to fix this. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>.
/external/ltp/testcases/commands/mail/mail_tests.sh
e764b28630bf57b9931988764835b49dc1910d85 23-Aug-2009 subrata_modak <subrata_modak> fix mail_tests for systems without mail installed: mail_tests should return tconf instead of tfail if mail is not installed. Signed-off-by: Paul Larson <paul.larson@canonical.com>.
/external/ltp/testcases/commands/mail/mail_tests.sh
39552a0e2358f86ae27297db3c530fca98c2d5a9 21-Oct-2008 subrata_modak <subrata_modak> Fix some bashisms. Jiri Palecek <jpalecek@web.de>.
/external/ltp/testcases/commands/mail/mail_tests.sh
c864960ed4bfa8d119afbc1a7f92be5ca590ec89 27-Aug-2008 subrata_modak <subrata_modak> When packaging LTP with rpmlinit, rpmlinit complains about several scripts which don't have Shebang on the head of the file. Some files didn't have a Shebang at all. Signed-off-by: Daniel Gollub <dgollub@suse.de>.
/external/ltp/testcases/commands/mail/mail_tests.sh
1e0acedbfe4b9add1e2e3d5b61c6a0d822bc51d9 14-Mar-2006 mreed10 <mreed10> A fix by Lin Feng Shen to elimiate white spaces that caused mail02 to fail
/external/ltp/testcases/commands/mail/mail_tests.sh
4640fb91a23572e18a90890e703698dbc1190756 02-Feb-2006 mridge <mridge> fixed some RH/Suse specific messages
/external/ltp/testcases/commands/mail/mail_tests.sh
153a17356a162543945669241441821d337f0e73 08-Apr-2004 robbiew <robbiew> Applied error message patch from Glen Foster.
/external/ltp/testcases/commands/mail/mail_tests.sh
7829e1e78b4c30bfee96e21ed55274d952de28b2 23-Mar-2004 robbiew <robbiew> Applied daemon typo patch from Andrew R. Reiter.
/external/ltp/testcases/commands/mail/mail_tests.sh
9f219da1e3aedc958cdf6fc8ad0b8a55c2ab815e 09-Dec-2003 robbiew <robbiew> Applied patch from Glen Foster:
===============================
Here's a proposed patch for the mail tests. It's basically more
of the type of patches I've been proposing -- specifically the use of
|| RC=$? versus just checking $?

There was one error where user@some_domain_address fails on some systems
because domain-names are generally not allowed to have underscores. This
patch fixes that, too.
/external/ltp/testcases/commands/mail/mail_tests.sh
6f8f6f3c84c81ffe6f333b55ecbdf12df20d6d96 01-Dec-2003 robbiew <robbiew> Applied patch from Glen Foster:
===============================
This one
fixes a problem with Red Hat and the 1106 LTP drop. The mail tests
look for "mailer-daemon@" when RH's mailer capitalizes it all to be
"MAILER-DAEMON@"... and it breaks the test. The subject: header of
the returned-mail messages also differs on RH, so this patch looks
for both. Finally, this patch also changes the construct used in
many commands tests:

[ -z $LTPTMP && -z $TMPBASE ]

to be more flexible/tolerant with most $SHELLs...

[ -z "$LTPTMP" -a -z "$TMPBASE" ]

... some shells are so picky. :)

Glen
/external/ltp/testcases/commands/mail/mail_tests.sh
49f00acc43cf5241733ee0c5350d2dccfa5b9240 14-Apr-2003 robbiew <robbiew> Applied Vasan's posixtest-9 patch.
/external/ltp/testcases/commands/mail/mail_tests.sh
46d75567e70792eafbf97b79302b974d04cfe790 07-Apr-2003 robbiew <robbiew> Applied Dan Kegel's `ash` compatibility patch.
/external/ltp/testcases/commands/mail/mail_tests.sh
a49eed02e053cb64eb96a36794d8de7d456e3c5a 07-Apr-2003 robbiew <robbiew> Applied Dan Kegel's `ash` compatibility tests.
/external/ltp/testcases/commands/mail/mail_tests.sh
816d4fdd48bb727920c02079b3616405b016baa1 07-Apr-2003 robbiew <robbiew> Applied Dan Kegel's `ash` compatibility script.
/external/ltp/testcases/commands/mail/mail_tests.sh
5b006807200db8d776f1c745dde9b40460792172 10-Jan-2003 iyermanoj <iyermanoj> fixed bugs I intoduced.
/external/ltp/testcases/commands/mail/mail_tests.sh
d91b924ac1c5adc67db558e9df36c1c657003004 10-Jan-2003 iyermanoj <iyermanoj> Added test #2,3,4,5
/external/ltp/testcases/commands/mail/mail_tests.sh
fccc1430b4d0a96fca11a4f46ddecfea68bd0a81 08-Jan-2003 iyermanoj <iyermanoj> Added new testcase to test mail/mailx
/external/ltp/testcases/commands/mail/mail_tests.sh