We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
wrong home path if root user in linux.
repro following command:
docker run --rm -it -v $PWD:/go/src/github.com/zchee/go-xdgbasedir golang:1.10.2-stretch go test -v -race ./...
error log:
=== RUN TestDir === RUN TestDir/default_usrHome === RUN TestDir/set_different_$HOME_env === RUN TestDir/empty_$HOME_env --- FAIL: TestDir (0.00s) --- PASS: TestDir/default_usrHome (0.00s) --- PASS: TestDir/set_different_$HOME_env (0.00s) --- FAIL: TestDir/empty_$HOME_env (0.00s) home_test.go:57: Dir() = ~, want /root FAIL
ref:
The text was updated successfully, but these errors were encountered:
c4375bf
zchee
No branches or pull requests
wrong home path if root user in linux.
repro following command:
error log:
ref:
The text was updated successfully, but these errors were encountered: