summaryrefslogtreecommitdiffstats
path: root/postgresql-tests/config.sh
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-10-22 08:54:05 +0200
committerPavel Raiskup <praiskup@redhat.com>2014-10-22 08:54:05 +0200
commit2422a081a5be0d5ac5afb122361bc283da67341f (patch)
treecb255582060af6547dd9318c56ba0e8c761846a1 /postgresql-tests/config.sh
parent922089746e1029de9be986672fcdeb6bc82e18d7 (diff)
downloadpostgresql-setup-tests-2422a081a5be0d5ac5afb122361bc283da67341f.tar.gz
postgresql-setup-tests-2422a081a5be0d5ac5afb122361bc283da67341f.tar.xz
postgresql-setup-tests-2422a081a5be0d5ac5afb122361bc283da67341f.zip
big reorg: prepare for generalization
Try to split into three separate components -> controller, tester, and 'tasks' (postgresql-tasks in our case). The controller component is the main part which is able to run the task remotely. Tester is more-like library for 'tasks' component (should be reusable on the raw git level). * controller: Almost separated component. * postgresql-tasks: Likewise. * tester: Likewise.
Diffstat (limited to 'postgresql-tests/config.sh')
-rw-r--r--postgresql-tests/config.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/postgresql-tests/config.sh b/postgresql-tests/config.sh
new file mode 100644
index 0000000..c5bd47a
--- /dev/null
+++ b/postgresql-tests/config.sh
@@ -0,0 +1,10 @@
+# include PostgreSQL specific test-library
+. "$srcdir/lib_pgsql.sh" || exit 1
+
+# this is needed for some tests
+export dtf_dataurl=http://pensioner.lab.eng.brq.redhat.com/root-tests/data/postgresql/
+
+dtf_cb_dist_tasks()
+{
+ tar -ch "$dir" --exclude gen-data
+}