User that runs the tests desn't need to be in /etc/passwd and thus user.Current() can fail. Assume the user is not root in this case.
20 KiB
20 KiB
User that runs the tests desn't need to be in /etc/passwd and thus user.Current() can fail. Assume the user is not root in this case.