aboutsummaryrefslogtreecommitdiff
path: root/test/setup.sh
diff options
context:
space:
mode:
authorTad Fisher <tad@simple.com>2017-03-16 15:52:03 -0700
committerTad Fisher <tad@simple.com>2017-03-16 16:17:26 -0700
commitdaa004115c43890e5ff2b9f6a3c0f5672815125b (patch)
tree131852f412ed1722c0048f4c5502742b0738e3be /test/setup.sh
parent74d53f3d472452bbd25725b217e1b7a59759b8bc (diff)
Fix build
Diffstat (limited to 'test/setup.sh')
-rw-r--r--test/setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/setup.sh b/test/setup.sh
index db8780d..f896382 100644
--- a/test/setup.sh
+++ b/test/setup.sh
@@ -25,11 +25,12 @@ unset EDITOR
# We must be called from test/
TEST_HOME="$(pwd)"
+EXT_HOME="$(dirname $TEST_HOME)"
. ./sharness.sh
export PASSWORD_STORE_ENABLE_EXTENSIONS=true
-export PASSWORD_STORE_EXTENSIONS_DIR="../"
+export PASSWORD_STORE_EXTENSIONS_DIR="$EXT_HOME"
export PASSWORD_STORE_DIR="$SHARNESS_TRASH_DIRECTORY/test-store"
rm -rf "$PASSWORD_STORE_DIR"