Checkbox tests using gksudo return empty output
Bug #425284 reported by
Marc Tardif
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Medium
|
Marc Tardif |
Bug Description
Some Checkbox tests currently use gksudo to workaround the bug where tests cannot be run by the backend as root. The problem is that gksudo does not seem to preserve the PATH environment variable even if passed the -k option. So, all the tests using gksudo return empty output because the command itself is not being found.
Related branches
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The solution for now is to simply specify the absolute path to the script instead of relying on the PATH environment variable.