From fbc6c0b93a88ac10730dd6f4492750cd32e2b44a Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 17 Oct 2012 21:03:43 +0200 Subject: o Adding environment variables to postinstall: - APPSH_BASEDIR - APPSH_HOME - APPSH_INSTANCE - APPSH_NAME - APPSH_VERSION --- test/it-install-remove.bats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/it-install-remove.bats') diff --git a/test/it-install-remove.bats b/test/it-install-remove.bats index 736bf56..bba16d2 100755 --- a/test/it-install-remove.bats +++ b/test/it-install-remove.bats @@ -13,7 +13,7 @@ load utils app instance install \ -r file \ -u $BATS_TEST_DIRNAME/data/app-a.zip \ - -n $name -i $instance + -n $name -i $instance; echo_lines [ $status -eq 0 ] can_not_read ".app/var/pid/$name-$instance.pid" @@ -35,8 +35,10 @@ load utils can_read "$name/$instance/$name.log" can_read "$name/$instance/$name.env" + can_read "$name/$instance/current/foo.conf" [ "`cat $name/$instance/$name.env`" = "TEST_PROPERTY=awesome" ] + [ "`cat $name/$instance/current/foo.conf`" = "hello" ] # app instance install \ # -r file \ -- cgit v1.2.3