aboutsummaryrefslogtreecommitdiff
path: root/test/app-install.bats
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-10-18 15:12:33 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-10-18 15:12:33 +0200
commit64e4505a2f30b1ddf027ffd43898efa7bdfdd8d7 (patch)
tree28ee4b9c443b2e71f825f820f4e8e09e4345004c /test/app-install.bats
parent190fbfc45fb1df608a34bd775b84564e872ab4dc (diff)
downloadapp.sh-64e4505a2f30b1ddf027ffd43898efa7bdfdd8d7.tar.gz
app.sh-64e4505a2f30b1ddf027ffd43898efa7bdfdd8d7.tar.bz2
app.sh-64e4505a2f30b1ddf027ffd43898efa7bdfdd8d7.tar.xz
app.sh-64e4505a2f30b1ddf027ffd43898efa7bdfdd8d7.zip
o Changing the current symlink before running postinstall.
Diffstat (limited to 'test/app-install.bats')
-rwxr-xr-xtest/app-install.bats8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/app-install.bats b/test/app-install.bats
index 7c7d642..38304be 100755
--- a/test/app-install.bats
+++ b/test/app-install.bats
@@ -16,11 +16,11 @@ load utils
[ $status -eq 0 ]
[ "$output" = "Creating instance 'prod' for 'app-a'
Unpacking...
+Changing current symlink
Running postinstall...
Hello World!
Creating logs directory
-Postinstall completed successfully
-Changing current symlink" ]
+Postinstall completed successfully" ]
[ ${#lines[*]} == 7 ]
}
@@ -34,6 +34,7 @@ Changing current symlink" ]
[ $status -eq 0 ]
[ "$output" = "Creating instance 'prod' for 'install-test-env'
Unpacking...
+Changing current symlink
Running postinstall...
APPSH_APPS=$APPSH_APPS
APPSH_HOME=$APPSH_HOME
@@ -44,8 +45,7 @@ PATH=/bin:/usr/bin
PWD=$APPSH_APPS_CANONICAL/install-test-env/prod/versions/1.0/root
SHLVL=1
_=/usr/bin/env
-Postinstall completed successfully
-Changing current symlink" ]
+Postinstall completed successfully" ]
[ ${#lines[*]} == 14 ]
# PWD=$APPSH_APPS_CANONICAL/install-test-env/prod/versions/1.0
}