Skip to contentSkip to conversation

ChangeLog should be replaced with VERSION

PATCH Caspar Zhang 1 participant 1 message Jan 9, 2012 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · Peng Haitao

ChangeLog is deleted, so ChangeLog should be replaced with VERSION.

Committed. Thanks!

Caspar

Quoted 54 lines
---
 README                 |    5 ++---
 include/mk/automake.mk |    2 +-
 tools/autoltp          |    2 +-
 tools/ltprun           |    2 +-
 4 files changed, 5 insertions(+), 6 deletions(-)
README +2 -3
index ec5518c..52a5979 100644
@@ -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.
include/mk/automake.mk +1 -1
index e5a4fe0..9893cf6 100644
@@ -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
tools/autoltp +1 -1
index f8c3b10..aece659 100755
@@ -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")) {
tools/ltprun +0 -0
index 95fb5bd..5fae63d 100755

tools/ltprun untar_ltp() · line 73

Quoted 8 lines
tools/ltprun +1 -1
@@ -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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list