Signed-off-by: Stanislav Kholmanskikh <[email protected]>
---
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list