All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Cc: vasily.isaenko@oracle.com, ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] tst_kvercmp2: Criteria for Oracle Linux UEK kernels
Date: Thu, 10 Oct 2013 09:17:24 +0800	[thread overview]
Message-ID: <52560024.2040601@cn.fujitsu.com> (raw)
In-Reply-To: <1381324269-29300-1-git-send-email-stanislav.kholmanskikh@oracle.com>

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

  reply	other threads:[~2013-10-10  1:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-09 13:11 [LTP] [PATCH] tst_kvercmp2: Criteria for Oracle Linux UEK kernels Stanislav Kholmanskikh
2013-10-10  1:17 ` Wanlong Gao [this message]
2013-10-14  5:40 ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52560024.2040601@cn.fujitsu.com \
    --to=gaowanlong@cn.fujitsu.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=stanislav.kholmanskikh@oracle.com \
    --cc=vasily.isaenko@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.