junest/tests/unit-tests
Filippo Squillace 6568430add Mitigate user missing from getent enumeration
Sometimes `getent passwd` does not give the user information.
This change tries to at least get the current user via
`getent passwd $USER` since it uses
a more reliable and faster system call (getpwnam(3)).

Reference:
be748493a3
2016-11-27 12:49:09 +00:00
..
shunit2 Move the unit tests to a specific folder 2016-05-30 23:01:28 +01:00
test-cli.sh Move the unit tests to a specific folder 2016-05-30 23:01:28 +01:00
test-core.sh Mitigate user missing from getent enumeration 2016-11-27 12:49:09 +00:00
test-utils.sh Move the unit tests to a specific folder 2016-05-30 23:01:28 +01:00
unit-tests.sh Move the unit tests to a specific folder 2016-05-30 23:01:28 +01:00
utils.sh Move the unit tests to a specific folder 2016-05-30 23:01:28 +01:00