Made existing tests comply to upcomming prescriptions for failure messages
This commit is contained in:
parent
d32661979b
commit
83621685a3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user