Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/tilde-p: Honor logname utility only if succeeds
On WSL, the logname utility fails, but the LOGNAME environment variable still holds a valid login name. We should overwrite the variable only when the logname utility returned a non-empty result. This change should avoid skipping test cases unnecessarily.
- Loading branch information