diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-27 21:10:30 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-27 21:10:30 +0100 |
commit | a4215743db91c4b7050dfda32a670814a101b773 (patch) | |
tree | 7466510ff53e0576cfcb2e2433b9300fd0a45901 /test/data/app-a | |
parent | 1e4a96730da70fcfa3b8c153874cbdebad0f9829 (diff) | |
download | app.sh-a4215743db91c4b7050dfda32a670814a101b773.tar.gz app.sh-a4215743db91c4b7050dfda32a670814a101b773.tar.bz2 app.sh-a4215743db91c4b7050dfda32a670814a101b773.tar.xz app.sh-a4215743db91c4b7050dfda32a670814a101b773.zip |
Defining 'APP_HOME' as where the .app dir is. The tools should use
this value to find files.
app-operate/app-operator-pid: These are "functional" now.
Diffstat (limited to 'test/data/app-a')
-rwxr-xr-x | test/data/app-a/hooks/post-install | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | test/data/app-a/root/bin/app-a | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/data/app-a/hooks/post-install b/test/data/app-a/hooks/post-install index 99ad974..c548ad7 100755 --- a/test/data/app-a/hooks/post-install +++ b/test/data/app-a/hooks/post-install @@ -3,3 +3,7 @@ set -u echo "Post install" + +[ -d ../../logs ] || mkdir ../../logs + +ln -s ../../../logs root/logs diff --git a/test/data/app-a/root/bin/app-a b/test/data/app-a/root/bin/app-a index 98d98cd..d332993 100644..100755 --- a/test/data/app-a/root/bin/app-a +++ b/test/data/app-a/root/bin/app-a @@ -1,8 +1,9 @@ #!/bin/bash -#cd $APPSH_INSTANCE_HOME me=`basename $0` +trap 'echo Signalled >> logs/$me.log; exit 0' TERM INT QUIT + env | grep TEST_PROPERTY >> logs/$me.env echo "Starting" >> logs/$me.log |