aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/app-a/root/etc/prod/foo.conf1
-rw-r--r--test/data/app-a/scripts/postinstall8
-rw-r--r--test/data/install-test-env/scripts/postinstall2
3 files changed, 10 insertions, 1 deletions
diff --git a/test/data/app-a/root/etc/prod/foo.conf b/test/data/app-a/root/etc/prod/foo.conf
new file mode 100644
index 0000000..ce01362
--- /dev/null
+++ b/test/data/app-a/root/etc/prod/foo.conf
@@ -0,0 +1 @@
+hello
diff --git a/test/data/app-a/scripts/postinstall b/test/data/app-a/scripts/postinstall
index cd16289..a77f86f 100644
--- a/test/data/app-a/scripts/postinstall
+++ b/test/data/app-a/scripts/postinstall
@@ -1,3 +1,11 @@
#!/bin/bash
echo "Hello World!"
+
+if [ -d root/etc/$APPSH_INSTANCE ]
+then
+ find root/etc/$APPSH_INSTANCE -type f -maxdepth 1 | while read file
+ do
+ cp $file root/
+ done
+fi
diff --git a/test/data/install-test-env/scripts/postinstall b/test/data/install-test-env/scripts/postinstall
index ad40c95..2a68f6a 100644
--- a/test/data/install-test-env/scripts/postinstall
+++ b/test/data/install-test-env/scripts/postinstall
@@ -1,3 +1,3 @@
#!/bin/bash
-env
+env | sort