1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-10-30 23:37:45 +02:00

Unit test fix for absolute path change in a0d985b7ad.

This commit is contained in:
David Steele
2015-05-08 19:33:34 -04:00
parent 9aa41ee76b
commit a7d6382cf2

View File

@@ -517,7 +517,7 @@ sub BackRestTestConfig_Test
configLoadExpect($oOption, OP_RESTORE);
my $strCommand = operationWrite(OP_ARCHIVE_GET);
my $strExpectedCommand = "$0 --backup-host=db.mydomain.com \"--db-path=/db path/main\"" .
my $strExpectedCommand = abs_path($0) . " --backup-host=db.mydomain.com \"--db-path=/db path/main\"" .
" --repo-path=/repo --stanza=main " . OP_ARCHIVE_GET;
if ($strCommand ne $strExpectedCommand)