All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Francesco RUNDO <francesco.rundo@st.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] kill05: Added proper return code (TPASS) if testcase exit without errors.
Date: Wed, 13 Jul 2011 17:33:27 +0200	[thread overview]
Message-ID: <20110713153327.GA4772@saboteur.suse.cz> (raw)
In-Reply-To: <1310567251-20343-1-git-send-email-no>

Hi!
> 	Added kill05 TPASS exit code.
> 
> The testcase didn't return any retrun code in case of 
> exit without errors i.e. in case of EPERM is correctly 
> raised by the system.

That shouldn't be a problem. The source in lib/tst_res.c initalizes the
return value to 0 (which is equal to TPASS) so when you call tst_exit()
it returns TPASS unless the tests reports failure.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2011-07-13 15:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 14:27 [LTP] [PATCH] kill05: Added proper return code (TPASS) if testcase exit without errors Francesco RUNDO
2011-07-13 15:33 ` Cyril Hrubis [this message]
     [not found]   ` <000c01cc41f3$bf4c0370$3de40a50$@rundo@st.com>
2011-07-14 10:32     ` Cyril Hrubis
     [not found]       ` <000d01cc421a$607dc5a0$217950e0$@rundo@st.com>
2011-07-14 11:56         ` Cyril Hrubis

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=20110713153327.GA4772@saboteur.suse.cz \
    --to=chrubis@suse.cz \
    --cc=francesco.rundo@st.com \
    --cc=ltp-list@lists.sourceforge.net \
    /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.