From 2b24fd6aeebc666bd350444bc16e60ad4fb10e8a Mon Sep 17 00:00:00 2001 From: mc2zk <mc2zk@git.zephyr-software.com> Date: Tue, 30 Aug 2011 01:53:53 +0000 Subject: [PATCH] Changing the case of "attribute" to allcaps for conformance to UVA test harness standard/assumptions. --- tools/ps_analyze.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/ps_analyze.sh b/tools/ps_analyze.sh index 680f65b36..2cff16833 100755 --- a/tools/ps_analyze.sh +++ b/tools/ps_analyze.sh @@ -83,11 +83,11 @@ perform_step() echo Done. Successful. fi - echo "# attribute start_time=$starttime" >> $logfile - echo "# attribute end_time=`date`" >> $logfile - echo "# attribute peasoup_step_name=$step" >> $logfile - echo "# attribute peasoup_step_number=$stepnum" >> $logfile - echo "# attribute peasoup_step_exitcode=$command_exit" >> $logfile + echo "# ATTRIBUTE start_time=$starttime" >> $logfile + echo "# ATTRIBUTE end_time=`date`" >> $logfile + echo "# ATTRIBUTE peasoup_step_name=$step" >> $logfile + echo "# ATTRIBUTE peasoup_step_number=$stepnum" >> $logfile + echo "# ATTRIBUTE peasoup_step_exitcode=$command_exit" >> $logfile # move to the next step stepnum=`expr $stepnum + 1` @@ -105,9 +105,9 @@ report_logs() { logfile=logs/ps_analyze.log - echo "# attribute start_time=$ps_starttime" >> $logfile - echo "# attribute end_time=`date`" >> $logfile - echo "# attribute peasoup_step_name=all_peasoup" >> $logfile + echo "# ATTRIBUTE start_time=$ps_starttime" >> $logfile + echo "# ATTRIBUTE end_time=`date`" >> $logfile + echo "# ATTRIBUTE peasoup_step_name=all_peasoup" >> $logfile for i in $all_logs do @@ -115,7 +115,7 @@ report_logs() echo ------------------------------------------------------- >> $logfile echo ----- From $i ------------------- >> $logfile echo ------------------------------------------------------- >> $logfile - cat $i |sed "s/^# attribute */# attribute renamed_for_ps/" >> $logfile + cat $i |sed "s/^# ATTRIBUTE */# ATTRIBUTE renamed_for_ps/" >> $logfile echo ------------------------------------------------------- >> $logfile echo >> $logfile done -- GitLab