aboutsummaryrefslogtreecommitdiff
path: root/test/utils.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils.bash')
-rw-r--r--test/utils.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/utils.bash b/test/utils.bash
index 653aae4..6a6967f 100644
--- a/test/utils.bash
+++ b/test/utils.bash
@@ -14,6 +14,8 @@ echo_lines() {
APPSH=$(pwd)/app
setup() {
+ APPSH_BASEDIR=$BATS_TMPDIR/app.sh
+ APPSH_HOME=$(cd $BATS_TEST_DIRNAME/../..; echo `pwd`/app.sh)
rm -rf $BATS_TMPDIR/app.sh
mkdir $BATS_TMPDIR/app.sh
cd $BATS_TMPDIR/app.sh