From 3d68fa3d5a8188ecdf55e12391c820e0ae48b4e8 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 22 Dec 2018 13:23:22 -0500 Subject: ob_use(): Remove --- (limited to 'tests/common.sh') diff --git a/tests/common.sh b/tests/common.sh index 83cb42a..350ae53 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -19,30 +19,8 @@ BUILDDIR="${PWD}/.." -# The "common" module is used by all library modules. -# We have to manually load the "common" module so we can use it in ob_use. . "${BUILDDIR}/lib/libopkbuild.shso.1" -ob_use() -{ - local module= - - if [ "${#}" -eq 1 ]; then - module="${1}" - else - return 125 - fi - - module="${BUILDDIR}/lib/${module}.sho" - if [ -r "${module}" ]; then - : . "${module}" - else - return 1 - fi - - return 0 -} - test_assert() { eval "${*}" -- cgit v0.9.1