public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Andrew Vagin <avagin@gmail.com>
To: subrata@linux.vnet.ibm.com
Cc: ltp-list@lists.sf.net
Subject: [LTP] [PATCH] clock_settime03: improve message about fail
Date: Fri, 13 Nov 2009 10:52:20 +0300	[thread overview]
Message-ID: <1258098740-22455-1-git-send-email-avagin@gmail.com> (raw)

---
 .../kernel/timers/clock_settime/clock_settime03.c  |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/testcases/kernel/timers/clock_settime/clock_settime03.c b/testcases/kernel/timers/clock_settime/clock_settime03.c
index 7638abd..d60bcf6 100755
--- a/testcases/kernel/timers/clock_settime/clock_settime03.c
+++ b/testcases/kernel/timers/clock_settime/clock_settime03.c
@@ -195,10 +195,11 @@ main(int ac, char **av)
 			} else {
 				tst_resm(TFAIL, "clock_settime(2) failed to"
 						" produce expected error; %d"
-						" , errno : %s and got %ld",
+						" , errno : %s and "
+						"got %ld errno %d",
 						testcase[i].exp_errno,
 						testcase[i].exp_errval,
-						TEST_RETURN);
+						TEST_RETURN, TEST_ERRNO);
 				if (TEST_RETURN == 0) {
 					if (clock_settime(CLOCK_REALTIME,
 								&saved) < 0) {
-- 
1.6.2.5


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

             reply	other threads:[~2009-11-13  8:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-13  7:52 Andrew Vagin [this message]
2009-11-13 15:17 ` [LTP] [PATCH] clock_settime03: improve message about fail Mike Frysinger
2009-11-18 13:07   ` Andrew Vagin
2009-11-18 23:46     ` Mike Frysinger
  -- strict thread matches above, loose matches on Subject: below --
2009-11-25 13:15 Andrew Vagin
2009-11-25 18:08 ` Mike Frysinger
2009-12-01  4:24   ` Garrett Cooper

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=1258098740-22455-1-git-send-email-avagin@gmail.com \
    --to=avagin@gmail.com \
    --cc=ltp-list@lists.sf.net \
    --cc=subrata@linux.vnet.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox