pgbackrest.git / summary / log / commit / refs
commit aa4e13b665b71b249bb74e124109d29b438bd654
Author: David Steele <david@pgmasters.net>
Date: Thu Jul 16 15:27:14 2020 +0000
Move encrypted files as raw in integration tests.
The encryption key should not be changed when moving a file so no need to decrypt/encrypt.
test/lib/pgBackRestTest/Common/FileTest.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/lib/pgBackRestTest/Common/FileTest.pm b/test/lib/pgBackRestTest/Common/FileTest.pm
index 8059ee671..be9b51b4d 100644
--- a/test/lib/pgBackRestTest/Common/FileTest.pm
+++ b/test/lib/pgBackRestTest/Common/FileTest.pm
@@ -222,7 +222,7 @@ sub forceStorageMove
}
else
{
- $oStorage->put($strDestinationPath, ${$oStorage->get($strSourcePath)});
+ $oStorage->put($strDestinationPath, ${$oStorage->get($strSourcePath, {bRaw => true})}, {bRaw => true});
$oStorage->remove($strSourcePath);
}
}
[parent: 50ff5d905edd]