a few nits with script with color and formatting of output

This commit is contained in:
Remzi Arpaci-Dusseau
2019-03-31 09:06:54 -05:00
parent d9abd0ec81
commit 7675f1dd60

View File

@@ -183,12 +183,13 @@ fi
# do a one-time setup step
if (( $skippre == 0 )); then
if [[ -f tests/pre ]]; then
builtin echo -e "\e[32mdoing one-time pre-test\e[0m (use -s to suppress)"
builtin echo -e "\e[33mdoing one-time pre-test\e[0m (use -s to suppress)"
source tests/pre
if (( $? != 0 )); then
echo "pre-test: failed"
exit 1
fi
echo ""
fi
fi