-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dereference symbolic links when copying files from ct data folder
When running `rebar3 ct`, `rebar_prv_common_test` copies the data folders to a different location. If `{name}_SUITE_data` folder contains relative symbolic links, the symbolic links might stop working since the path might be different. A solution is to add the `-L` option to `cp` so it dereferences the symbolic links and copies the original content in the target file. This is only done for the data folder but and won't change any code that previously used `rebar_file_utils:cp_r`.
- Loading branch information
1 parent
a2ea0c5
commit 07c8a6a
Showing
2 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters