summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2018-12-22 13:17:25 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2018-12-22 13:17:25 (EST)
commit87946959a411bda5a1b750cbefb34c3f067839c6 (patch)
tree441cccf8974f2ceec62c8a634c4c7d9431b3a0c9
parent7d34edb493d373eb28c43dbe150f936853944a7c (diff)
tests/common.sh: Load libopkbuild and neuter ob_use()
-rw-r--r--tests/common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common.sh b/tests/common.sh
index b45d316..83cb42a 100644
--- a/tests/common.sh
+++ b/tests/common.sh
@@ -21,7 +21,7 @@ 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/common.sho"
+. "${BUILDDIR}/lib/libopkbuild.shso.1"
ob_use()
{
@@ -35,7 +35,7 @@ ob_use()
module="${BUILDDIR}/lib/${module}.sho"
if [ -r "${module}" ]; then
- . "${module}"
+ : . "${module}"
else
return 1
fi