Closed Bug 1654317 Opened 4 years ago Closed 4 years ago

'mach xpcshell-test <test>' uses a constant prefs file path and does not clean up that file

Categories

(Testing :: XPCShell Harness, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

Debugging local runs of 'mach xpcshell-test <test-file>' on Linux, it looks like a prefs file of <topobjdir>/temp/user.js is always used...and that file is not deleted at the end of the run.

Also, it looks like a run with --setpref x=y results in pref x being set in future runs, at least for single test file runs.

(For a manifest that sets prefs, it appears a unique path is used for each unique set of prefs - that looks well implemented.)

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.