ChangeLog is deleted, so ChangeLog should be replaced with VERSION.
Signed-off-by: Peng Haitao <[email protected]>
---
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;
--
1.7.1
--
Best Regards,
Peng
------------------------------------------------------------------------------
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