aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile1
-rw-r--r--test/setup.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 93f4d89..39f1df2 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -17,6 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/ .
+SHELL := /bin/bash
SHELL_PATH ?= $(SHELL)
SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
RM ?= rm -f
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"