Skip to content

Commit

Permalink
ChangeLog should be replaced with VERSION
Browse files Browse the repository at this point in the history
ChangeLog is deleted, so ChangeLog should be replaced with VERSION.

Signed-off-by: Peng Haitao <[email protected]>
  • Loading branch information
Peng Haitao authored and casparant committed Jan 9, 2012
1 parent fb19ffd commit 5de138b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion include/mk/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/autoltp
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down
2 changes: 1 addition & 1 deletion tools/ltprun
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5de138b

Please sign in to comment.