From 83c13f1181c4062ca5296ea956e950064bde0ffe Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 18 Oct 2012 13:38:58 +0200 Subject: o Making all scripts be run from the root/ directory. Do not assume you're in current/. --- test/app-install.bats | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/app-install.bats') 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 } -- cgit v1.2.3