diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-16 23:57:41 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-16 23:57:41 +0200 |
commit | a3ce3f7eabbb746aa9ced430bcd55391742c738b (patch) | |
tree | e4dcab1586b725508a57bfce83f3067a95b26a89 /test/it-install-remove.bats | |
parent | f563dc165ce1ee8747eea647231bf8e295d8af3f (diff) | |
download | app.sh-a3ce3f7eabbb746aa9ced430bcd55391742c738b.tar.gz app.sh-a3ce3f7eabbb746aa9ced430bcd55391742c738b.tar.bz2 app.sh-a3ce3f7eabbb746aa9ced430bcd55391742c738b.tar.xz app.sh-a3ce3f7eabbb746aa9ced430bcd55391742c738b.zip |
o Improved completion (again).
o Consistent usage of APPSH_HOME and BASEDIR.
Diffstat (limited to 'test/it-install-remove.bats')
-rwxr-xr-x | test/it-install-remove.bats | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/it-install-remove.bats b/test/it-install-remove.bats new file mode 100755 index 0000000..98a79c9 --- /dev/null +++ b/test/it-install-remove.bats @@ -0,0 +1,25 @@ +#!/usr/bin/env bats +# vim: set filetype=sh: + +load utils + +@test "install remove roundtrip" { + mkzip "app-a" + a="-n app-a -i prod" + app instance install \ + -r file \ + -u $BATS_TEST_DIRNAME/data/app-a.zip \ + $a + + [ ! -r .app/var/pid/$name-$instance.pid ] + app $a operate start; echo_lines + [ -r .app/var/pid/$name-$instance.pid ] + + app $a operate stop; echo_lines + [ ! -r .app/var/pid/$name-$instance.pid ] + +# 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 +} |