All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] tst_kvercmp2: Criteria for Oracle Linux UEK kernels
@ 2013-10-09 13:11 Stanislav Kholmanskikh
  2013-10-10  1:17 ` Wanlong Gao
  2013-10-14  5:40 ` Mike Frysinger
  0 siblings, 2 replies; 3+ messages in thread
From: Stanislav Kholmanskikh @ 2013-10-09 13:11 UTC (permalink / raw)
  To: ltp-list; +Cc: vasily.isaenko

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
---
 lib/tst_kvercmp.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/lib/tst_kvercmp.c b/lib/tst_kvercmp.c
index a703c47..a950120 100644
--- a/lib/tst_kvercmp.c
+++ b/lib/tst_kvercmp.c
@@ -95,8 +95,12 @@ int tst_kvercmp2(int r1, int r2, int r3, struct tst_kern_exv *vers)
 
 	uname(&uval);
 	kver = uval.release;
-	if (strstr(kver, ".el5")) {
+	if (strstr(kver, ".el5uek")) {
+		cur_dist_name = "OL5UEK";
+	} else if (strstr(kver, ".el5")) {
 		cur_dist_name = "RHEL5";
+	} else if (strstr(kver, ".el6uek")) {
+		cur_dist_name = "OL6UEK";
 	} else if (strstr(kver, ".el6")) {
 		cur_dist_name = "RHEL6";
 	}
-- 
1.7.1


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&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] 3+ messages in thread

end of thread, other threads:[~2013-10-14  5:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-09 13:11 [LTP] [PATCH] tst_kvercmp2: Criteria for Oracle Linux UEK kernels Stanislav Kholmanskikh
2013-10-10  1:17 ` Wanlong Gao
2013-10-14  5:40 ` Mike Frysinger

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.