1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-06 08:49:29 +02:00

Update test.pl --psql-bin option to match command-line help.

The option to specify the path to psql was shown in the command-line help as --psql-bin but the option was actually named --pgsql-bin.

Rename to match the help so they are consistent.
This commit is contained in:
k_zshiba
2022-11-14 13:47:27 +09:00
committed by GitHub
parent 58b3c91bab
commit 3ad588443b
5 changed files with 24 additions and 4 deletions

View File

@@ -290,7 +290,7 @@ sub run
($self->{strLogLevel} ne lc(INFO) ? " --log-level=$self->{strLogLevel}" : '') .
($self->{strLogLevelTestFile} ne lc(TRACE) ? " --log-level-test-file=$self->{strLogLevelTestFile}" : '') .
($self->{bLogTimestamp} ? '' : ' --no-log-timestamp') .
' --pgsql-bin=' . $self->{oTest}->{&TEST_PGSQL_BIN} .
' --psql-bin=' . $self->{oTest}->{&TEST_PGSQL_BIN} .
($self->{strTimeZone} ? " --tz='$self->{strTimeZone}'" : '') .
($self->{bDryRun} ? ' --dry-run' : '') .
($self->{bDryRun} ? ' --vm-out' : '') .

View File

@@ -34,7 +34,7 @@ use constant TEST_NAME => 'test';
push @EXPORT, qw(TEST_NAME);
use constant TEST_BIN_REQ => 'bin-req';
push @EXPORT, qw(TEST_BIN_REQ);
use constant TEST_PGSQL_BIN => 'pgsql-bin';
use constant TEST_PGSQL_BIN => 'psql-bin';
push @EXPORT, qw(TEST_PGSQL_BIN);
use constant TEST_INTEGRATION => 'integration';
push @EXPORT, qw(TEST_INTEGRATION);

View File

@@ -40,7 +40,7 @@ use constant VM_IMAGE => 'image';
push @EXPORT, qw(VM_IMAGE);
use constant VM_OS_BASE => 'os-base';
push @EXPORT, qw(VM_OS_BASE);
use constant VMDEF_PGSQL_BIN => 'pgsql-bin';
use constant VMDEF_PGSQL_BIN => 'psql-bin';
push @EXPORT, qw(VMDEF_PGSQL_BIN);
use constant VMDEF_LCOV_VERSION => 'lcov-version';
push @EXPORT, qw(VMDEF_LCOV_VERSION);