aboutsummaryrefslogtreecommitdiff
path: root/test/app-install.bats
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-10-17 21:03:43 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-10-17 21:05:52 +0200
commitfbc6c0b93a88ac10730dd6f4492750cd32e2b44a (patch)
tree06da50f5115f1f20b34dad817b98cd1bc4c677ea /test/app-install.bats
parent265b1d8b25945898e11801242dbff7639e1a4a60 (diff)
downloadapp.sh-fbc6c0b93a88ac10730dd6f4492750cd32e2b44a.tar.gz
app.sh-fbc6c0b93a88ac10730dd6f4492750cd32e2b44a.tar.bz2
app.sh-fbc6c0b93a88ac10730dd6f4492750cd32e2b44a.tar.xz
app.sh-fbc6c0b93a88ac10730dd6f4492750cd32e2b44a.zip
o Adding environment variables to postinstall:
- APPSH_BASEDIR - APPSH_HOME - APPSH_INSTANCE - APPSH_NAME - APPSH_VERSION
Diffstat (limited to 'test/app-install.bats')
-rwxr-xr-xtest/app-install.bats7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/app-install.bats b/test/app-install.bats
index 59880bd..7b80547 100755
--- a/test/app-install.bats
+++ b/test/app-install.bats
@@ -35,11 +35,16 @@ Changing current symlink" ]
[ "$output" = "Creating instance 'prod' for 'install-test-env'
Unpacking...
Running postinstall...
+APPSH_BASEDIR=$APPSH_BASEDIR
+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
SHLVL=1
_=/usr/bin/env
Postinstall completed successfully
Changing current symlink" ]
- [ ${#lines[*]} == 9 ]
+ [ ${#lines[*]} == 14 ]
}