diff options
-rw-r--r-- | tests/common.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/common.sh b/tests/common.sh index ff3c9a8..1432a66 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -30,17 +30,20 @@ ob_use() if [ "${#}" -eq 1 ]; then _obu_module="${1}" else - return $(_ob_return 125) + _ob_return 125 + return ${?} fi _obu_module="${BUILDDIR}/lib/${_obu_module}.sm" if [ -r "${_obu_module}" ]; then . "${_obu_module}" else - return $(_ob_return 1) + _ob_return 1 + return ${?} fi - return $(_ob_return 0) + _ob_return 0 + return ${?} } test_assert() |