summaryrefslogtreecommitdiff
path: root/test/app-install.bats
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-10-17 22:20:46 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-10-17 22:20:46 +0200
commit993c9a7807e38b365f48334fff6640e07647af03 (patch)
tree4347844f2039b29f134e4f729ce38180ad047f8c /test/app-install.bats
parentfbc6c0b93a88ac10730dd6f4492750cd32e2b44a (diff)
downloadapp.sh-993c9a7807e38b365f48334fff6640e07647af03.tar.gz
app.sh-993c9a7807e38b365f48334fff6640e07647af03.tar.bz2
app.sh-993c9a7807e38b365f48334fff6640e07647af03.tar.xz
app.sh-993c9a7807e38b365f48334fff6640e07647af03.zip
o Renaming BASEDIR to apps, APPSH_BASEDIR to APPSH_APPS.
Diffstat (limited to 'test/app-install.bats')
-rwxr-xr-xtest/app-install.bats5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/app-install.bats b/test/app-install.bats
index 7b80547..df77594 100755
--- a/test/app-install.bats
+++ b/test/app-install.bats
@@ -29,19 +29,18 @@ Changing current symlink" ]
-r file \
-u $BATS_TEST_DIRNAME/data/install-test-env.zip \
-n install-test-env -i prod -v 1.0
-
echo_lines
[ $status -eq 0 ]
[ "$output" = "Creating instance 'prod' for 'install-test-env'
Unpacking...
Running postinstall...
-APPSH_BASEDIR=$APPSH_BASEDIR
+APPSH_APPS=$APPSH_APPS
APPSH_HOME=$APPSH_HOME
APPSH_INSTANCE=prod
APPSH_NAME=install-test-env
APPSH_VERSION=1.0
PATH=/bin:/usr/bin
-PWD=$WORK/install-test-env/prod/versions/1.0
+PWD=$APPSH_APPS_CANONICAL/install-test-env/prod/versions/1.0
SHLVL=1
_=/usr/bin/env
Postinstall completed successfully