graphics/xorg-version will pass on a system without X
Bug #1570373 reported by
Po-Hsu Lin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Po-Hsu Lin |
Bug Description
This issue was found while trying to run SRU on a RPI2, the graphics/
The detail section shows:
xdpyinfo: unable to open display ""
Related branches
lp:~cypressyew/checkbox/fix-xorg-version
- Sylvain Pineau (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedproviders/plainbox-provider-checkbox/jobs/graphics.txt.in (+1/-1)
Changed in plainbox-provider-checkbox: | |
milestone: | 0.28 → 0.27 |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
good catch, actually it never fails due to the pipe commands.
We should instead use:
set -o pipefail; xdpyinfo | grep "^X.Org version" | cut -d ':' -f 2 | tr -d ' '