diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-22 13:23:22 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-22 13:23:22 (EST) |
commit | 3d68fa3d5a8188ecdf55e12391c820e0ae48b4e8 (patch) | |
tree | ec5d4927934e0082a1ac591456946595a3639a67 /tests/common.sh | |
parent | 87946959a411bda5a1b750cbefb34c3f067839c6 (diff) |
ob_use(): Remove
Diffstat (limited to 'tests/common.sh')
-rw-r--r-- | tests/common.sh | 22 |
1 files changed, 0 insertions, 22 deletions
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 "${*}" |