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/it-install-remove.bats | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'test/it-install-remove.bats') diff --git a/test/it-install-remove.bats b/test/it-install-remove.bats index 5eb9f46..78f4532 100755 --- a/test/it-install-remove.bats +++ b/test/it-install-remove.bats @@ -34,15 +34,12 @@ load utils echo_lines can_not_read .app/var/pid/$name-$instance.pid - can_read "$name/$instance/$name.log" - can_read "$name/$instance/$name.env" + can_read "$name/$instance/logs/$name.log" + can_read "$name/$instance/logs/$name.env" can_read "$name/$instance/current/foo.conf" - [ "`cat $name/$instance/$name.env`" = "TEST_PROPERTY=awesome" ] + [ "`cat $name/$instance/logs/$name.env`" = "TEST_PROPERTY=awesome" ] [ "`cat $name/$instance/current/foo.conf`" = "hello" ] -# app instance install \ -# -r file \ -# -u $HOME/.m2/repository/io/trygvis/appsh/examples/jenkins/1.0-SNAPSHOT/jenkins-1.0-SNAPSHOT.zip \ -# -n jenkins -i env-a + # TODO: Remove the version } -- cgit v1.2.3