Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Add ability to set current_dir#33

Merged
bors[bot] merged 1 commit intoassert-rs:masterfrom
epage:current_dir
Sep 13, 2017
Merged

Add ability to set current_dir#33
bors[bot] merged 1 commit intoassert-rs:masterfrom
epage:current_dir

Conversation

@epage
Copy link
Collaborator

@epage epage commented Sep 8, 2017

Some tests need to run in certain directories but if you call std::env::set_current_dir within your test, you can hit race conditions with other tests running at the same time. This allows you to set the current_dir only on the child process.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants