aboutsummaryrefslogtreecommitdiff
path: root/test/app-install.bats
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-10-18 13:38:58 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-10-18 13:38:58 +0200
commit83c13f1181c4062ca5296ea956e950064bde0ffe (patch)
treeea021190acabc6e675510e13987cd4addbf50765 /test/app-install.bats
parent993c9a7807e38b365f48334fff6640e07647af03 (diff)
downloadapp.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.tar.gz
app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.tar.bz2
app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.tar.xz
app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.zip
o Making all scripts be run from the root/ directory. Do not assume you're in current/.
Diffstat (limited to 'test/app-install.bats')
-rwxr-xr-xtest/app-install.bats6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/app-install.bats b/test/app-install.bats
index df77594..7c7d642 100755
--- a/test/app-install.bats
+++ b/test/app-install.bats
@@ -18,9 +18,10 @@ load utils
Unpacking...
Running postinstall...
Hello World!
+Creating logs directory
Postinstall completed successfully
Changing current symlink" ]
- [ ${#lines[*]} == 6 ]
+ [ ${#lines[*]} == 7 ]
}
@test "./app instance install install-test-env" {
@@ -40,10 +41,11 @@ APPSH_INSTANCE=prod
APPSH_NAME=install-test-env
APPSH_VERSION=1.0
PATH=/bin:/usr/bin
-PWD=$APPSH_APPS_CANONICAL/install-test-env/prod/versions/1.0
+PWD=$APPSH_APPS_CANONICAL/install-test-env/prod/versions/1.0/root
SHLVL=1
_=/usr/bin/env
Postinstall completed successfully
Changing current symlink" ]
[ ${#lines[*]} == 14 ]
+# PWD=$APPSH_APPS_CANONICAL/install-test-env/prod/versions/1.0
}