Commit 4967e2ca authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4814] clean up other scripts


git-svn-id: file:///svn/toku/tokudb@43207 c7de825b-a66e-492c-adef-691d508d4ae1
parent 77b2b4c2
...@@ -8,10 +8,9 @@ bin=$1; shift ...@@ -8,10 +8,9 @@ bin=$1; shift
size=$1; shift size=$1; shift
runs=$1; shift runs=$1; shift
abortcode=$1; shift abortcode=$1; shift
valgrind="$@"
$valgrind $bin -C -n $size $bin -C -n $size
$valgrind $bin -C -i 0 -n $size $bin -C -i 0 -n $size
for (( i = 1; i < $runs; i++ )) for (( i = 1; i < $runs; i++ ))
do do
echo -n "$i: " && date echo -n "$i: " && date
......
...@@ -6,9 +6,8 @@ test $# -ge 2 ...@@ -6,9 +6,8 @@ test $# -ge 2
bin=$1; shift bin=$1; shift
abortcode=$1; shift abortcode=$1; shift
valgrind="$@"
num_writes=$($valgrind $bin -q) num_writes=$($bin -q)
set +e set +e
for (( i = 0; i < $num_writes; i++ )) for (( i = 0; i < $num_writes; i++ ))
do do
......
...@@ -5,7 +5,6 @@ set -e ...@@ -5,7 +5,6 @@ set -e
test $# -ge 1 test $# -ge 1
bin=$1; shift bin=$1; shift
valgrind="$@"
$valgrind $bin -n 1000 $bin -n 1000
$bin $bin
\ No newline at end of file
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