-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve symlinks of testfiles #2926
Conversation
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
LGTM
I have a Go question though: why `os.Create` instead of `os.Open`?
|
Open is read-only. Create is read-write-create, there is also OpenFile allowing for precise control. |
@Kubuxu what was the problem here? could I get a tldr? |
It was introduced by me in https://travis-ci.org/ipfs/go-ipfs/builds/140867106 as the docker tests were failing already I didn't notice that tests on Travis OS X are failing too. On Travis OS X tmp dir is symlinked causing the test to fail as the path expected did not evaluate symlink. |
alright, LGTM |
This needs to be reverted too. See #2897 (comment) and #2839 (comment) |
Yes, please. |
@Kubux @jbenet it looks like @whyrusleeping reverted this in 1aeda7e (part of #2952) |
Resolves #2925
Docker still fails.
License: MIT
Signed-off-by: Jakub Sztandera kubuxu@protonmail.ch