Commit e4099a00 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4382] save stderr too, kill children better

git-svn-id: file:///svn/toku/tokudb@38706 c7de825b-a66e-492c-adef-691d508d4ae1
parent f7ad0ee7
......@@ -113,14 +113,14 @@ run_test() {
--num_elements $table_size \
--cachetable_size $cachetable_size \
--num_ptquery_threads $num_ptquery \
--num_update_threads $num_update > $tmplog
--num_update_threads $num_update &> $tmplog
then
rm -f $tmplog
t1="$(date)"
if LD_LIBRARY_PATH=../../../lib:$LD_LIBRARY_PATH \
../$exec -v --recover --envdir "$envdir" \
--num_elements $table_size \
--cachetable_size $cachetable_size > $tmplog
--cachetable_size $cachetable_size &> $tmplog
then
rm -f $tmplog
t2="$(date)"
......@@ -191,6 +191,10 @@ killchildren() {
do
kill $pid
done
for exec in ${testnames[@]}
do
pkill -f $exec
done
}
for exec in ${testnames[@]}
......
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