summaryrefslogtreecommitdiffstats
path: root/run
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-10-20 07:25:13 +0200
committerPavel Raiskup <praiskup@redhat.com>2014-10-20 07:25:13 +0200
commit4d5a62e62e64554af003f3395639ba912ed0c6c6 (patch)
tree05d0063912c867ef02d5196fb46557aedae64cf1 /run
parent29e5adaec875c1b5ae3bd375de743f46f4a95883 (diff)
tasks/upgrade: add basic upgrade testcase
Based on pre-generated tarball with PostgreSQL data - download the tarball, unpack and perform 'postgresql-setup upgrade'. * lib_pgsql.sh (dtf_postgresql_unpack_remote_data): New function. (dtf_postgresql_upgrade_matrix): New function. Detect which data should we test against. * run: Define new global $dtf_dataurl. * tasks/upgrade-basic/config.sh: New testcase config. * tasks/upgrade-basic/runtest.sh: New testcase.
Diffstat (limited to 'run')
-rwxr-xr-xrun1
1 files changed, 1 insertions, 0 deletions
diff --git a/run b/run
index 4e11dd5..8f1b69f 100755
--- a/run
+++ b/run
@@ -5,6 +5,7 @@
export dtf_resultdir=${dtf_resultdir_override-/var/tmp/dtf}
export dtf_srcdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
export dtf_testdir=${dtf_testdir-$dtf_srcdir}
+export dtf_dataurl=http://pensioner.lab.eng.brq.redhat.com/root-tests/data/postgresql/
export dtf_resultxml_file=/var/tmp/dtf.xml