more clear summary output

This commit is contained in:
George Danchev 2011-07-09 18:00:05 +00:00
parent 697b3c227d
commit 93dabe189e
1 changed files with 9 additions and 18 deletions

View File

@ -83,14 +83,10 @@ fi
printf "done in ${TS} sec. ok."
;;
*)
if which tput >/dev/null 2>&1; then
printf "done in ${TS} sec."
tput smso
printf " FAIL. EXIT CODE: $RET;"
tput rmso
else
printf "done in ${TS} sec. FAIL. EXIT CODE: $RET;"
fi
printf "done in ${TS} sec. "
which tput >/dev/null 2>&1 && tput smso
printf "FAIL -> EXIT CODE $RET"
which tput >/dev/null 2>&1 && tput rmso
;;
esac
set -e
@ -118,8 +114,7 @@ fi
printf " Total elapsed ${ES} sec."
fi
#####
printf "\n${SELF}: Std(out|err) logged in ${CLOG}."
printf "\n${SELF}: Trivial log file examination:"
printf "\n${SELF}: Trivial log examination: ${CLOG}"
printf "\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
# severity classes of libdax_msgs.h in libburn and libisofs
# List of boring keywords:
@ -157,13 +152,9 @@ fi
fi
#
if which tput >/dev/null 2>&1; then
tput smso
printf "\n${SELF}: Leaving the following cruft in ${GEN_DATA_DIR}:\n"
tput rmso
else
printf "\n${SELF}: Leaving the following cruft in ${GEN_DATA_DIR}:\n"
fi
which tput >/dev/null 2>&1 && tput smso
printf "\n${SELF}: Leaving the following cruft in ${GEN_DATA_DIR}:\n"
which tput >/dev/null 2>&1 && tput rmso
ls -lth "${GEN_DATA_DIR}"