fix debug

This commit is contained in:
Thomas Levine 2016-04-04 00:42:08 +00:00
parent 0de2c3264a
commit cd7f773d58

4
urchin
View File

@ -186,9 +186,11 @@ recurse() {
fi
if test -f setup_dir; then
if $print_debug; then
echo Sourcing "${PWD}/setup_dir"
. ./setup_dir
fi
fi
for test in *; do
if test "${test}" = '*' && ! test -e "${test}"; then
@ -264,9 +266,11 @@ recurse() {
finish=$(date +%s)
if test -f teardown; then
if $print_debug; then
echo Sourcing "${PWD}/teardown"
. ./teardown
fi
fi
if [ "${exit_code}" -eq 0 ]; then
result=ok