Made existing tests comply to upcomming prescriptions for failure messages

This commit is contained in:
Thomas Schmitt 2011-08-05 15:49:07 +00:00
parent bbfe2e7a6e
commit 9b21530532

View File

@ -60,15 +60,15 @@ cleanup() {
printf "${SELF}: Removed (self-generated) %s\n" ${GEN_DATA_DIR} printf "${SELF}: Removed (self-generated) %s\n" ${GEN_DATA_DIR}
unboldify unboldify
else else
printf "${SELF}: FAIL: Safety check for being in releng_generated_data directory.\n" printf "FAIL : ${SELF} : Safety check for being in releng_generated_data directory.\n"
printf "${SELF}: FAIL: GREP returned empty string: ${RET_NON_EMPTY_STRING}.\n" printf "FAIL : ${SELF} : GREP returned empty string: ${RET_NON_EMPTY_STRING}.\n"
printf "${SELF}: FAIL: Skipped trying to remove ${GEN_DATA_DIR} directory. Exiting.\n" printf "FAIL : ${SELF} : Skipped trying to remove ${GEN_DATA_DIR} directory. Exiting.\n"
fi fi
;; ;;
*) *)
printf "${SELF}: FAIL: Safety check for being in releng_generated_data directory.\n" printf "FAIL : ${SELF} : Safety check for being in releng_generated_data directory.\n"
printf "${SELF}: FAIL: GREP returned code: ${GREP_RET_GEN_DATA}.\n" printf "FAIL : ${SELF} : GREP returned code: ${GREP_RET_GEN_DATA}.\n"
printf "${SELF}: FAIL: Skipped trying to remove ${GEN_DATA_DIR} directory. Exiting.\n" printf "FAIL : ${SELF} : Skipped trying to remove ${GEN_DATA_DIR} directory. Exiting.\n"
exit 30 exit 30
;; ;;
esac esac