All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serue@us.ibm.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: LTP list <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] [PATCH 1/1] say FAIL not PASS when we failed
Date: Mon, 4 Jan 2010 17:36:22 -0600	[thread overview]
Message-ID: <20100104233622.GA9018@us.ibm.com> (raw)
In-Reply-To: <D107C512-245B-4187-9A8D-7FDC28234A0D@gmail.com>

Quoting Garrett Cooper (yanegomi@gmail.com):
> On Jan 4, 2010, at 9:16 AM, "Serge E. Hallyn" <serue@us.ibm.com> wrote:
> 
> >Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
> >---
> >testcases/kernel/security/p9auth/p9priv.sh |    2 +-
> >1 files changed, 1 insertions(+), 1 deletions(-)
> >
> >diff --git a/testcases/kernel/security/p9auth/p9priv.sh
> >b/testcases/kernel/security/p9auth/p9priv.sh
> >index ad2eead..c1a14d0 100755
> >--- a/testcases/kernel/security/p9auth/p9priv.sh
> >+++ b/testcases/kernel/security/p9auth/p9priv.sh
> >@@ -101,7 +101,7 @@ while [ ! -f $LTPTMP/d/childready ]; do :; done
> >touch $LTPTMP/childgo
> >while [ ! -f $LTPTMP/d/childfail -a ! -f $LTPTMP/d/childpass ]; do
> >:; done;
> >if [ -f $LTPTMP/d/childpass ]; then
> >-    echo "PASS: child could setuid from wrong source uid"
> >+    echo "FAIL: child could setuid from wrong source uid"
> >   exit 1
> >fi
> >echo "PASS: child couldn't setuid from wrong source uid"
> >-- 
> >1.6.1.1
> 
> Is there a reason why this isn't using tst_resm?

No good reason

thanks,
-serge

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2010-01-04 23:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 17:16 [LTP] [PATCH 1/1] say FAIL not PASS when we failed Serge E. Hallyn
2010-01-04 22:59 ` Garrett Cooper
2010-01-04 23:36   ` Serge E. Hallyn [this message]
2010-01-05  2:12     ` Garrett Cooper
2010-01-05 15:30       ` Serge E. Hallyn
2010-01-05 16:45         ` Garrett Cooper
2010-01-05 17:33           ` Serge E. Hallyn
2010-01-05 17:46             ` Garrett Cooper
2010-01-06  2:53               ` Garrett Cooper
2010-01-06  3:22                 ` Serge E. Hallyn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100104233622.GA9018@us.ibm.com \
    --to=serue@us.ibm.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=yanegomi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.