1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Minor for regression tests.

Improved CentOS 6 vagrant config.
This commit is contained in:
David Steele 2015-07-11 22:47:22 -04:00
parent ea7914d980
commit 073e3b7c00
2 changed files with 9 additions and 1 deletions

View File

@ -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);

8
test/vm/Vagrantfile vendored
View File

@ -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