File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,9 @@ if [[ $to_tuned_setting != "none" ]]; then
293
293
tuned_original=` tuned-adm active | cut -d' ' -f4`
294
294
tuned-adm profile $to_tuned_setting
295
295
fi
296
+ pushd /usr/local > /dev/null
297
+ rm -rf $test
298
+ popd > /dev/null
296
299
cd $exec_dir
297
300
echo ./run_hammerdb -m /perf1 -t ${test} ${users_to_run} ${warehouses} ${log_mount} > run_this
298
301
chmod 755 run_this
@@ -316,7 +319,9 @@ rm -f results_pbench.tar
316
319
317
320
tmp_file=` mktemp /tmp/hammer_data.XXXXX`
318
321
find -L $test -type f -exec grep -Iq . {} \; -print > $tmp_file
319
- egrep " out|csv|report" temp | egrep -v " Hammerdb" | grep -v tcl | tar cf /tmp/results_hammerdb_${test} _${to_tuned_setting} .tar --files-from=/dev/stdin
322
+ echo " /usr/local/HammerDB/results_hammerdb_${test} .csv" >> $tmp_file
323
+ egrep " out|csv|report" $tmp_file | egrep -v " Hammerdb" | grep -v tcl | tar cf /tmp/results_hammerdb_${test} _${to_tuned_setting} .tar --files-from=/dev/stdin
324
+ ${curdir} /test_tools/save_results --curdir $curdir --home_root $to_home_root --tar_file /tmp/results_hammerdb_${test} _${to_tuned_setting} .tar --test_name $test_name_ ${test} --tuned_setting=$to_tuned_setting --version " None" --user $to_user
320
325
rm $tmp_file
321
326
322
327
if [[ $to_tuned_setting != " none" ]]; then
You can’t perform that action at this time.
0 commit comments