File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -844,6 +844,21 @@ execute_test()
844844 additional_info=` echo $additional_info | cut -d' ' -f 1`
845845 results_prefix=$additional_info " user_" $to_puser " _instance_" $to_sysname " _numb_disks_" $numb_disks " _" $tuning_info
846846 user=$additional_info " user_" $to_user " _instance_" $to_sysname " _numb_disks_" $numb_disks
847+ pushd $working_dir > /dev/null
848+ if [[ ! -f results_fio.csv ]]; then
849+ echo Failed, results_fio.csv missing >> test_results_report
850+ else
851+ value=` head -2 results_fio.csv | tail -1`
852+ jobs=` echo $value | cut -d' :' -f 1`
853+ tput=` echo $value | cut -d' :' -f 4 | cut -d' .' -f 1`
854+
855+ if [[ $jobs -gt 0 ]] && [[ $tput -gt 0 ]]; then
856+ echo Ran >> test_results_report
857+ else
858+ echo Failed >> test_results_report
859+ fi
860+ fi
861+ popd > /dev/null
847862
848863 if [ $to_pbench -eq 1 ]; then
849864 cd /var/lib/pbench-agent/
You can’t perform that action at this time.
0 commit comments