Skip to content
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

Unittest: Environment.t fails in some Docker context #354

Closed
bschmalhofer opened this issue Aug 14, 2020 · 1 comment
Closed

Unittest: Environment.t fails in some Docker context #354

bschmalhofer opened this issue Aug 14, 2020 · 1 comment
Assignees
Labels
bug Something isn't working as intended
Milestone

Comments

@bschmalhofer
Copy link
Contributor

not ok 4 - OSInfoGet - returned User

Looks like Kernel::System::Environment::OSInfoGet() relies solely on the env vars USER and USERNAME. This can be improved. See https://stackoverflow.com/questions/3526420/how-do-i-get-the-current-user-in-perl-in-a-portable-way.

@bschmalhofer bschmalhofer added the bug Something isn't working as intended label Aug 14, 2020
@bschmalhofer bschmalhofer added this to the OTOBO 10.1 milestone Aug 14, 2020
@bschmalhofer bschmalhofer self-assigned this Aug 14, 2020
@bschmalhofer
Copy link
Contributor Author

Enhanced the user detection.
Also print out the actual settings in Environment.t.
Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant