public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] clock_getres/clock_getres01.c: Add CLOCK_MONOTONIC_RAW test
@ 2013-10-31  8:11 Zeng Linggang
  2013-10-31 15:49 ` chrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Zeng Linggang @ 2013-10-31  8:11 UTC (permalink / raw)
  To: ltp-list

Add CLOCK_MONOTONIC_RAW test in clock_getres01.c for clock_getres(2)

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
---
 testcases/kernel/syscalls/clock_getres/clock_getres01.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/testcases/kernel/syscalls/clock_getres/clock_getres01.c b/testcases/kernel/syscalls/clock_getres/clock_getres01.c
index 0fb5df4..c73b0ce 100644
--- a/testcases/kernel/syscalls/clock_getres/clock_getres01.c
+++ b/testcases/kernel/syscalls/clock_getres/clock_getres01.c
@@ -188,6 +188,12 @@ static struct test_case tcase[] = {
 	 .ret = 0,
 	 .err = 0,
 	 },
+	{
+	 .clk_id = CLOCK_MONOTONIC_RAW,
+	 .ttype = NORMAL,
+	 .ret = 0,
+	 .err = 0,
+	 },
 };
 
 #define MEM_LENGTH	      (4 * 1024 * 1024)
-- 1.8.2.1 


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2013-10-31 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31  8:11 [LTP] [PATCH] clock_getres/clock_getres01.c: Add CLOCK_MONOTONIC_RAW test Zeng Linggang
2013-10-31 15:49 ` chrubis

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