public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] clock_settime03: improve message about fail
@ 2009-11-13  7:52 Andrew Vagin
  2009-11-13 15:17 ` Mike Frysinger
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Vagin @ 2009-11-13  7:52 UTC (permalink / raw)
  To: subrata; +Cc: ltp-list

---
 .../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

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [LTP] [PATCH] clock_settime03: improve message about fail
@ 2009-11-25 13:15 Andrew Vagin
  2009-11-25 18:08 ` Mike Frysinger
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Vagin @ 2009-11-25 13:15 UTC (permalink / raw)
  To: subrata; +Cc: ltp-list, vapier

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

diff --git a/testcases/kernel/timers/clock_settime/clock_settime03.c b/testcases/kernel/timers/clock_settime/clock_settime03.c
index 7638abd..5026242 100755
--- a/testcases/kernel/timers/clock_settime/clock_settime03.c
+++ b/testcases/kernel/timers/clock_settime/clock_settime03.c
@@ -193,7 +193,8 @@ main(int ac, char **av)
 						, testcase[i].exp_errval,
 						testcase[i].err_desc);
 			} else {
-				tst_resm(TFAIL, "clock_settime(2) failed to"
+				tst_resm(TFAIL | TTERRNO,
+						"clock_settime(2) failed to"
 						" produce expected error; %d"
 						" , errno : %s and got %ld",
 						testcase[i].exp_errno,
-- 
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

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

end of thread, other threads:[~2009-12-01  4:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-13  7:52 [LTP] [PATCH] clock_settime03: improve message about fail Andrew Vagin
2009-11-13 15:17 ` 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

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