summaryrefslogtreecommitdiffstats
path: root/run
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-10-14 09:57:57 +0200
committerPavel Raiskup <praiskup@redhat.com>2014-10-14 10:09:18 +0200
commit959158ab0457afc4454e637db89f9d16f8aad775 (patch)
tree44870c605e38bfd4026c8a14fdf47c12a8ef420d /run
parent2fc91b1dc56823bc615ce0cb19a8ee79645af6a2 (diff)
downloadpostgresql-setup-tests-959158ab0457afc4454e637db89f9d16f8aad775.tar.gz
postgresql-setup-tests-959158ab0457afc4454e637db89f9d16f8aad775.tar.xz
postgresql-setup-tests-959158ab0457afc4454e637db89f9d16f8aad775.zip
controller: configuration cleanup
Better define configuration and provide examples. * controller: Unpack results to correct directory, load the configuration from new place, call run_remote with proper arguments, generate 'results.html' with result_stats script. * ansible/run_include: Adjust to better simulate run_remote. * ansible/fedora.yml: Adjust for fixed configuration. * run_remote: Likewise. Also small issues with option parsing fixed. * config.sh.template: Moved as config/config.sh.template. * config/config.sh.template: Copyyed from /config.sh.template, better documented options. * run: Fix typo - use 'while read i' instead of 'for i in'. * config/os/EXAMPLE.sh: New file - exmaple configuration. * private/os/EXAMPLE.yml: Likewise. * config/hosts.template: Likewise. * dist.include: New file with file patterns that should be distributed to test machine. * dist: Distribute only those files which are necessary. * config/.gitignore: New gitignore file.
Diffstat (limited to 'run')
-rwxr-xr-xrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/run b/run
index d4fb8d4..4e11dd5 100755
--- a/run
+++ b/run
@@ -163,7 +163,7 @@ test $dtf_option_listonly -ne 1 && prepare_resultdir
dtf_resultxml_init "$dtf_resultxml_file"
result=0
-for i in ; do
+while read i; do
testdir=$(dirname "$i")
run "$testdir" || result=1