Checkbox tests using gksudo return empty output

Bug #425284 reported by Marc Tardif
6
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

Revision history for this message
Marc Tardif (cr3) wrote :

The solution for now is to simply specify the absolute path to the script instead of relying on the PATH environment variable.

Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
importance: Undecided → Medium
milestone: none → 0.8-alpha6
status: New → Fix Committed
Marc Tardif (cr3)
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.