remove unnecessary recurse call padding

This commit is contained in:
Thomas Levine 2016-03-06 14:54:42 +00:00
parent 8b9747a997
commit edec12c2c0
1 changed files with 2 additions and 11 deletions

13
urchin
View File

@ -196,17 +196,8 @@ recurse() {
break
fi
(
if test -f setup; then . ./setup; fi
if recurse "${requested_path}" "${test}" "${cycle_shell}" \
"${TEST_SHELL}"; then
exit_code=0
else
exit_code="${?}"
fi
if test -f teardown; then . ./teardown; fi
exit "${exit_code}"
) &
recurse "${requested_path}" "${test}" "${cycle_shell}" \
"${TEST_SHELL}" &
if "${run_in_series}" || "${run_in_series_dir}"; then
if wait "${!}"; then exit_code=0; else exit_code="${?}"; fi