public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] mail_tests.sh : a small mistake
@ 2010-03-08  8:29 Yuki Yao
  2010-03-08 15:49 ` Garrett Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Yuki Yao @ 2010-03-08  8:29 UTC (permalink / raw)
  To: ltp-list

Hi,

I found a small mistake about "mail" test.

When mail reception error occurred in "Test #3", this test displays
"Test #2" not "Test #3".

Signed-off-by: Yuki Yao<y_yao@ryobi.co.jp>

Index: ./testcases/commands/mail/mail_tests.sh
==============================
--- ./testcases/commands/mail/mail_tests.sh.orig        2010-03-08
16:00:56.000000000 +0900
+++ ./testcases/commands/mail/mail_tests.sh     2010-03-08
16:01:34.000000000 +0900
@@ -257,7 +257,7 @@
     if [ -z "$RC1" -a -z "$RC2" -a -z "$RC3" ]
     then
         $LTPBIN/tst_res TFAIL $LTPTMP/tst_mail.res \
-        "Test #2: No new mail for root. Reason:"
+        "Test #3: No new mail for root. Reason:"
         TFAILCNT=$(( $TFAILCNT+1 ))
     else
         if [ $RC1 -ne 0 -a $RC2 -ne 0 ] || [ $RC1 -ne 0 -a $RC3 -ne 0 ]


Thanks,
-Yuki Yao



------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LTP] mail_tests.sh : a small mistake
  2010-03-08  8:29 [LTP] mail_tests.sh : a small mistake Yuki Yao
@ 2010-03-08 15:49 ` Garrett Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Garrett Cooper @ 2010-03-08 15:49 UTC (permalink / raw)
  To: Yuki Yao; +Cc: ltp-list

On Mon, Mar 8, 2010 at 12:29 AM, Yuki Yao <y_yao@ryobi.co.jp> wrote:
> Hi,
>
> I found a small mistake about "mail" test.
>
> When mail reception error occurred in "Test #3", this test displays
> "Test #2" not "Test #3".
>
> Signed-off-by: Yuki Yao<y_yao@ryobi.co.jp>
>
> Index: ./testcases/commands/mail/mail_tests.sh
> ==============================
> --- ./testcases/commands/mail/mail_tests.sh.orig        2010-03-08
> 16:00:56.000000000 +0900
> +++ ./testcases/commands/mail/mail_tests.sh     2010-03-08
> 16:01:34.000000000 +0900
> @@ -257,7 +257,7 @@
>     if [ -z "$RC1" -a -z "$RC2" -a -z "$RC3" ]
>     then
>         $LTPBIN/tst_res TFAIL $LTPTMP/tst_mail.res \
> -        "Test #2: No new mail for root. Reason:"
> +        "Test #3: No new mail for root. Reason:"
>         TFAILCNT=$(( $TFAILCNT+1 ))
>     else
>         if [ $RC1 -ne 0 -a $RC2 -ne 0 ] || [ $RC1 -ne 0 -a $RC3 -ne 0 ]

This was already fixed on git head.
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-08 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08  8:29 [LTP] mail_tests.sh : a small mistake Yuki Yao
2010-03-08 15:49 ` Garrett Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox