File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -314,9 +314,10 @@ cp /tmp/hammerdb.out .
314314popd
315315rm -f results_pbench.tar
316316
317- find -L $test -type f -exec grep -Iq . {} \; -print | grep -v enc | grep -v tcl | grep -v " \.h" | grep -v " \.sh" | grep -v " \.tm" | grep -v xml | tar --transform ' s/.*\///g' -cf /tmp/results_pbench.tar --files-from=/dev/stdin
318-
319- find -L $test -type f -exec grep -Iq . {} \; -print | tar cf /tmp/results_hammerdb_${test} _${to_tuned_setting} .tar --files-from=/dev/stdin
317+ tmp_file=` mktemp /tmp/hammer_data.XXXXX`
318+ 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
320+ rm $tmp_file
320321
321322if [[ $to_tuned_setting != " none" ]]; then
322323 tuned-adm profile $tuned_original
You can’t perform that action at this time.
0 commit comments