hint about req. free space, formatting cleanup, drop completed todo items

This commit is contained in:
George Danchev
2011-07-09 07:33:33 +00:00
parent d81ac5328b
commit 0a3923c2ed
4 changed files with 38 additions and 39 deletions

View File

@ -26,13 +26,22 @@ done
if [ ! "${1}" ]; then
cat << HLP
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${SELF} runs executables from CWD starting
with releng_*, passing them its own options.
stdout/stderr output stored in:
${CLOG}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
self generated data are stored in ${GEN_DATA_DIR}.
required space for these data is about 300 megabytes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
examples:
# run xorriso and keep the self generated data
$ ./${SELF} -x path/to/xorriso [-k1]
${SELF} runs executables from CWD starting with releng_*, passing them its own options.
stdout/stderr output stored in ${CLOG}
${SELF} -x path/to/xorriso [-k1]
${SELF} -c1
# clean up self generated data from previous run
$ ./${SELF} -c1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HLP
exit 31
fi
@ -82,12 +91,14 @@ fi
printf "\n${SELF}: Removed my own log ${CLOG}.prev."
rm -f "${CLOG}".prev
fi
printf "\n"
else
E2=`date '+%s'`
let ES="${E2} - ${E1}"
printf " Total elapsed ${ES} sec."
if [ ${E2} -eq ${E1} ]; then
printf " Total elapsed 0 sec."
else
let ES="${E2} - ${E1}"
printf " Total elapsed ${ES} sec."
fi
#####
printf "\n${SELF}: Std(out|err) logged in ${CLOG}."
printf "\n${SELF}: Trivial log file examination:"
@ -126,6 +137,10 @@ fi
printf "diff -Naur ${CLOG}.prev ${CLOG} | less"
fi
fi
#
printf "\n${SELF}: Leaving the following cruft in ${GEN_DATA_DIR}:\n"
ls -lth "${GEN_DATA_DIR}"
# Fin
exit 0