* [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
* Re: [LTP] [PATCH] tst_kvercmp2: Criteria for Oracle Linux UEK kernels
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
1 sibling, 0 replies; 3+ messages in thread
From: Wanlong Gao @ 2013-10-10 1:17 UTC (permalink / raw)
To: Stanislav Kholmanskikh; +Cc: vasily.isaenko, ltp-list
On 10/09/2013 09:11 PM, Stanislav Kholmanskikh wrote:
> Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Acked-by: Wanlong Gao <gaowanlong@cn.fujitsu.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";
> }
>
------------------------------------------------------------------------------
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 [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH] tst_kvercmp2: Criteria for Oracle Linux UEK kernels
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
1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2013-10-14 5:40 UTC (permalink / raw)
To: ltp-list; +Cc: vasily.isaenko
[-- Attachment #1.1: Type: Text/Plain, Size: 22 bytes --]
pushed, thanks!
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 416 bytes --]
------------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [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.