1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Fix rsync include list removed from test.pl in 9ee9b1fa.

This caused the include list to be ignored and all files to be rsync'd, which worked but took a much longer.
This commit is contained in:
David Steele
2021-08-02 08:52:49 -04:00
parent 2dfca8a61f
commit c192ec4561
+2 -1
View File
@@ -580,7 +580,8 @@ eval
# Copy the repo # Copy the repo
executeTest( executeTest(
"git -C ${strBackRestBase} ls-files -c --others --exclude-standard | rsync -rtW --delete --exclude=test/result" . "git -C ${strBackRestBase} ls-files -c --others --exclude-standard |" .
" rsync -rtW --delete --files-from=- --exclude=test/result" .
# This option is not supported on MacOS. The eventual plan is to remove the need for it. # This option is not supported on MacOS. The eventual plan is to remove the need for it.
(trim(`uname`) ne 'Darwin' ? ' --ignore-missing-args' : '') . (trim(`uname`) ne 'Darwin' ? ' --ignore-missing-args' : '') .
" ${strBackRestBase}/ ${strRepoCachePath}"); " ${strBackRestBase}/ ${strRepoCachePath}");