mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-01-30 14:45:37 +02:00
Expand path variables for sync destination (#18)
Expand path variables for sync destination Running commands like cdc_rsync C:\assets\* host:~/assets -vr would create a directory called ~assets. This CL expands path variables properly.
This commit is contained in:
@@ -613,10 +613,9 @@ TEST_F(ManifestUpdaterTest, UpdateAll_LargeIntermediateIndirectDirAssets) {
|
||||
cfg_.src_dir = path::Join(base_dir_, "non_empty");
|
||||
ManifestUpdater updater(&data_store_, cfg_);
|
||||
|
||||
// (internal): Run UpdateAll() with intermediate manifest push. The push
|
||||
// causes a Flush() call to the manifest builder, which pushes some assets to
|
||||
// indirect lists. This used to invalidate pointers and cause asserts to
|
||||
// trigger.
|
||||
// Run UpdateAll() with intermediate manifest push. The push causes a Flush()
|
||||
// call to the manifest builder, which pushes some assets to indirect lists.
|
||||
// This used to invalidate pointers and cause asserts to trigger.
|
||||
EXPECT_OK(updater.UpdateAll(&file_chunks_, [](const ContentIdProto&) {}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user