public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Caspar Zhang <caspar@casparzhang.com>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] ChangeLog should be replaced with VERSION
Date: Mon, 09 Jan 2012 19:38:44 +0800	[thread overview]
Message-ID: <4F0AD1C4.9070708@casparzhang.com> (raw)
In-Reply-To: <4F0A57D2.7010706@cn.fujitsu.com>

On 2012年01月09日 10:58, Peng Haitao wrote:
> 
> ChangeLog is deleted, so ChangeLog should be replaced with VERSION.
> 
> Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>

Committed. Thanks!

Caspar

> ---
>  README                 |    5 ++---
>  include/mk/automake.mk |    2 +-
>  tools/autoltp          |    2 +-
>  tools/ltprun           |    2 +-
>  4 files changed, 5 insertions(+), 6 deletions(-)
> 
> diff --git a/README b/README
> index ec5518c..52a5979 100644
> --- a/README
> +++ b/README
> @@ -62,9 +62,8 @@ CREDITS
>  COPYING
>  	GNU General Public License
>  
> -ChangeLog
> -	An incomplete list of changes to the project.  We will try harder to
> -	keep this up to date.
> +VERSION
> +	LTP Version.
>  
>  Makefile
>  	Top level make file for LTP.
> diff --git a/include/mk/automake.mk b/include/mk/automake.mk
> index e5a4fe0..9893cf6 100644
> --- a/include/mk/automake.mk
> +++ b/include/mk/automake.mk
> @@ -57,7 +57,7 @@ autoheader: configure.ac $(wildcard m4/*.m4) m4/ltp-version.m4 aclocal.m4
>  include:
>  	mkdir -p "$@"
>  
> -m4/ltp-version.m4: ChangeLog
> +m4/ltp-version.m4: VERSION
>  	sed -n '1{s:LTP-:m4_define([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
>  
>  .PHONY: automake
> diff --git a/tools/autoltp b/tools/autoltp
> index f8c3b10..aece659 100755
> --- a/tools/autoltp
> +++ b/tools/autoltp
> @@ -87,7 +87,7 @@ for($i=0; $i <= $#hosts; $i++) {
>        }
>  
>        #this looks lame, but ltp_check needs ltprun.out to grab the ltp version      
> -      $ssh->cmd('echo version: $(head -n1 ltp/ChangeLog) > ltprun.out');
> +      $ssh->cmd('echo version: $(cat VERSION) > ltprun.out');
>  
>        #stop sar on client(s)
>        if($ssh->cmd("killall sar && killall sadc")) {
> diff --git a/tools/ltprun b/tools/ltprun
> index 95fb5bd..5fae63d 100755
> --- a/tools/ltprun
> +++ b/tools/ltprun
> @@ -67,7 +67,7 @@ untar_ltp()
>  build_ltp()
>  {
>     cd ~/ltp
> -   echo "Building LTP Testsuite version: `head -n1 ChangeLog`";
> +   echo "Building LTP Testsuite version: `cat VERSION`";
>     make clean install &> /dev/null
>     if [ $? != "0" ]; then
>        echo "FAILED   LTP Testsuite compilation"; return 0;


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

           reply	other threads:[~2012-01-09 11:39 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <4F0A57D2.7010706@cn.fujitsu.com>]

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=4F0AD1C4.9070708@casparzhang.com \
    --to=caspar@casparzhang.com \
    --cc=ltp-list@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox