Closed Bug 1285260 Opened 8 years ago Closed 7 years ago

[taskcluster-worker][osx-engine] Implement more robust tests for user creation in osx engine

Categories

(Taskcluster :: Workers, defect, P1)

x86_64
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wcosta, Unassigned)

References

Details

We currently have only basics tests for user creation related code in osx engine, and even so they only run when we are the root user. We need better tests and be able to run them in Linux as well, so we can enable them in travis.

One way is to mock the dscl command, and make sure it is found in the path before the system dscl. This way, an unprivileged user could run the tests and they could run in Linux as well.
With switch to native test, this can be considered done.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: Worker → Workers
You need to log in before you can comment on or make changes to this bug.