[t:4814] fix getting svn revision in fractal tree test script

git-svn-id: file:///svn/toku/tokudb@43184 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Leif Walsh 2013-04-17 00:00:25 -04:00 committed by Yoni Fogel
parent 63b1969fbb
commit 2f4b3c0898

View file

@ -100,7 +100,7 @@ function getsysinfo() {
}
function get_latest_svn_revision() {
svn info | awk -v ORS="" '/Last Changed Rev:/ { print $4 }'
svn info $1 | awk -v ORS="" '/Last Changed Rev:/ { print $4 }'
}
function my_mktemp() {
@ -158,7 +158,7 @@ cat "$resultsdir/trace" | awk '
}
print "PASS=" pass
}' >"$cf"
get_latest_svn_revision >>"$cf"
get_latest_svn_revision $FULLTOKUDBDIR >>"$cf"
echo -n " " >>"$cf"
cat "$resultsdir/trace" | awk '
BEGIN {
@ -242,7 +242,7 @@ END {
}
print "PASS=" pass
}' >"$cf"
get_latest_svn_revision >>"$cf"
get_latest_svn_revision $FULLTOKUDBDIR >>"$cf"
echo -n " " >>"$cf"
cat "$resultsdir/trace" | awk '
BEGIN {
@ -326,7 +326,7 @@ END {
}
print "PASS=" pass
}' >"$cf"
get_latest_svn_revision >>"$cf"
get_latest_svn_revision $FULLTOKUDBDIR >>"$cf"
echo -n " " >>"$cf"
cat "$resultsdir/trace" | awk '
BEGIN {