Skip to content

tests: checkout: fix symlink.git being created outside of sandbox#5099

Merged
ethomson merged 1 commit intolibgit2:masterfrom
pks-t:pks/tests-fix-symlink-outside-sandbox
Jun 10, 2019
Merged

tests: checkout: fix symlink.git being created outside of sandbox#5099
ethomson merged 1 commit intolibgit2:masterfrom
pks-t:pks/tests-fix-symlink-outside-sandbox

Conversation

@pks-t
Copy link
Member

@pks-t pks-t commented Jun 7, 2019

The function populate_symlink_workdir creates a new
"symlink.git" repository with a relative path "../symlink.git".
As the current working directory is the sandbox, the new
repository will be created just outside of the sandbox.

Fix this by using clar_sandbox_path.

The function `populate_symlink_workdir` creates a new
"symlink.git" repository with a relative path "../symlink.git".
As the current working directory is the sandbox, the new
repository will be created just outside of the sandbox.

Fix this by using `clar_sandbox_path`.
@ethomson
Copy link
Member

Nice find. This is indeed bothersome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants