Commit 2f4b3c08 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

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


git-svn-id: file:///svn/toku/tokudb@43184 c7de825b-a66e-492c-adef-691d508d4ae1
parent 63b1969f
...@@ -100,7 +100,7 @@ function getsysinfo() { ...@@ -100,7 +100,7 @@ function getsysinfo() {
} }
function get_latest_svn_revision() { 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() { function my_mktemp() {
...@@ -158,7 +158,7 @@ cat "$resultsdir/trace" | awk ' ...@@ -158,7 +158,7 @@ cat "$resultsdir/trace" | awk '
} }
print "PASS=" pass print "PASS=" pass
}' >"$cf" }' >"$cf"
get_latest_svn_revision >>"$cf" get_latest_svn_revision $FULLTOKUDBDIR >>"$cf"
echo -n " " >>"$cf" echo -n " " >>"$cf"
cat "$resultsdir/trace" | awk ' cat "$resultsdir/trace" | awk '
BEGIN { BEGIN {
...@@ -242,7 +242,7 @@ END { ...@@ -242,7 +242,7 @@ END {
} }
print "PASS=" pass print "PASS=" pass
}' >"$cf" }' >"$cf"
get_latest_svn_revision >>"$cf" get_latest_svn_revision $FULLTOKUDBDIR >>"$cf"
echo -n " " >>"$cf" echo -n " " >>"$cf"
cat "$resultsdir/trace" | awk ' cat "$resultsdir/trace" | awk '
BEGIN { BEGIN {
...@@ -326,7 +326,7 @@ END { ...@@ -326,7 +326,7 @@ END {
} }
print "PASS=" pass print "PASS=" pass
}' >"$cf" }' >"$cf"
get_latest_svn_revision >>"$cf" get_latest_svn_revision $FULLTOKUDBDIR >>"$cf"
echo -n " " >>"$cf" echo -n " " >>"$cf"
cat "$resultsdir/trace" | awk ' cat "$resultsdir/trace" | awk '
BEGIN { BEGIN {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment