You've already forked pgbackrest
							
							
				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:
		| @@ -517,7 +517,7 @@ sub BackRestTestConfig_Test | |||||||
|             configLoadExpect($oOption, OP_RESTORE); |             configLoadExpect($oOption, OP_RESTORE); | ||||||
|  |  | ||||||
|             my $strCommand = operationWrite(OP_ARCHIVE_GET); |             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; |                                      " --repo-path=/repo --stanza=main " . OP_ARCHIVE_GET; | ||||||
|  |  | ||||||
|             if ($strCommand ne $strExpectedCommand) |             if ($strCommand ne $strExpectedCommand) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user