From 073e3b7c0055a45b0717d4a4b91ede54a3b68569 Mon Sep 17 00:00:00 2001 From: David Steele Date: Sat, 11 Jul 2015 22:47:22 -0400 Subject: [PATCH] Minor for regression tests. Improved CentOS 6 vagrant config. --- test/test.pl | 2 +- test/vm/Vagrantfile | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/test/test.pl b/test/test.pl index 7efd27a16..9b42f978d 100755 --- a/test/test.pl +++ b/test/test.pl @@ -288,7 +288,7 @@ eval { for (my $iVersionIdx = 1; $iVersionIdx < @stryTestVersion; $iVersionIdx++) { - BackRestTestCommon_Setup($strTestPath, $stryTestVersion[$iVersionIdx], + BackRestTestCommon_Setup($strExe, $strTestPath, $stryTestVersion[$iVersionIdx], $iModuleTestRun, $bDryRun, $bNoCleanup); &log(INFO, "TESTING psql-bin = $stryTestVersion[$iVersionIdx] for backup/full\n"); BackRestTestBackup_Test('full', $iThreadMax); diff --git a/test/vm/Vagrantfile b/test/vm/Vagrantfile index 32aef0ecc..88dc56dea 100644 --- a/test/vm/Vagrantfile +++ b/test/vm/Vagrantfile @@ -39,7 +39,15 @@ Vagrant.configure(2) do |config| # Provision the VM co6.vm.provision "shell", inline: <<-SHELL # Install db + sudo rpm -ivh http://yum.postgresql.org/9.0/redhat/rhel-6-x86_64/pgdg-centos90-9.0-5.noarch.rpm + sudo rpm -ivh http://yum.postgresql.org/9.1/redhat/rhel-6-x86_64/pgdg-centos91-9.1-4.noarch.rpm + sudo rpm -ivh http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm + sudo rpm -ivh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm sudo rpm -ivh http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm + yum -y install postgresql90-server + yum -y install postgresql91-server + yum -y install postgresql92-server + yum -y install postgresql93-server yum -y install postgresql94-server # Install Perl