improve summary formatting

master
George Danchev 11 years ago
parent 321d9ae044
commit 86e16e949b
  1. 22
      releng/run_all_releng

@ -60,7 +60,7 @@ fi
done
DEND=`date --utc`
printf "\n${SELF}: Stopped at ${DEND}.\n"
printf "\n${SELF}: Stopped at ${DEND}."
if [ "${1}" == "-cleanup" ]; then
if [ -f "${CLOG}" ]; then rm -f "${CLOG}"; fi
@ -68,17 +68,11 @@ fi
else
E2=`date '+%s'`
let ES="${E2} - ${E1}"
printf "\n${SELF}: Total time elapsed ${ES} sec."
##### TODO: work out a less noisy diff'ing technique!
#if [ -f "${CLOG}".prev -a -f "${CLOG}" ]; then
# printf "\n${SELF}: Log diff follows:\n"
# diff -Naur "${CLOG}".prev "${CLOG}"
#fi
printf " Total elapsed ${ES} sec."
#####
printf "\n${SELF}: Std(out|err) logged in ${CLOG}."
printf "\n${SELF}: Current log file examination begins:"
printf "\n${SELF}: Trivial log file examination:"
printf "\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
# severity classes of libdax_msgs.h in libburn and libisofs
# List of boring keywords:
@ -103,7 +97,15 @@ fi
esac
set -e
fi
printf "\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
printf "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
##### TODO: work out a less noisy diff'ing technique!
if [ -f "${CLOG}".prev -a -f "${CLOG}" ]; then
printf "${SELF}: See diff against previous log file (might be long):\n"
printf "diff -Naur ${CLOG}.prev ${CLOG} | less"
fi
fi
printf "\n"
exit 0

Loading…
Cancel
Save