diff options
author | P. J. McDermott <pjm@nac.net> | 2012-09-09 18:33:55 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-09-09 18:33:55 (EDT) |
commit | 1a16fadea0001294d9bcbbf0249ae0ac4fac4d7a (patch) | |
tree | a400b15adee6083de61886cf3b223f5ad4b37182 /tests | |
parent | 3e94506db49e011534281784fd07f38d4f688cc8 (diff) |
Update tests/common.sh for commit 01cd33a4.
Diffstat (limited to 'tests')
-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() |