aboutsummaryrefslogtreecommitdiff
path: root/test/data/app-a/root
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-10-18 13:38:58 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-10-18 13:38:58 +0200
commit83c13f1181c4062ca5296ea956e950064bde0ffe (patch)
treeea021190acabc6e675510e13987cd4addbf50765 /test/data/app-a/root
parent993c9a7807e38b365f48334fff6640e07647af03 (diff)
downloadapp.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.tar.gz
app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.tar.bz2
app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.tar.xz
app.sh-83c13f1181c4062ca5296ea956e950064bde0ffe.zip
o Making all scripts be run from the root/ directory. Do not assume you're in current/.
Diffstat (limited to 'test/data/app-a/root')
-rw-r--r--test/data/app-a/root/bin/app-a11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/data/app-a/root/bin/app-a b/test/data/app-a/root/bin/app-a
index c8c4fc5..98d98cd 100644
--- a/test/data/app-a/root/bin/app-a
+++ b/test/data/app-a/root/bin/app-a
@@ -1,15 +1,16 @@
#!/bin/bash
-me=$APPSH_INSTANCE_HOME/`basename $0`
+#cd $APPSH_INSTANCE_HOME
+me=`basename $0`
-echo "Starting" >> $me.log
+env | grep TEST_PROPERTY >> logs/$me.env
-env | grep TEST_PROPERTY > $me.env
+echo "Starting" >> logs/$me.log
for i in {1..10}
do
- echo "#$i: `date`" >> $me.log
+ echo "#$i: `date`" >> logs/$me.log
sleep 1
done
-echo "Exiting" >> $me.log
+echo "Exiting" >> logs/$me.log