From 1a16fadea0001294d9bcbbf0249ae0ac4fac4d7a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Sep 2012 18:33:55 -0400 Subject: Update tests/common.sh for commit 01cd33a4. --- (limited to 'tests/common.sh') 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() -- cgit v0.9.1