diff options
author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2016-04-15 11:41:24 +0800 |
---|---|---|
committer | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2016-04-15 11:41:24 +0800 |
commit | ea4257fc2de211064f2970c845f3abeb9fc6a6ee (patch) | |
tree | 6595ddb2abf8479476615b2ab54e79926c5601f7 /jobs | |
parent | 70f2a3b8d561be020605fe79de18c88bee6d009c (diff) |
p-p-c: fix to xorg-version.
The xorg-version test never fails because of the pipe, add 'set -o pipefail;' to fix this.
Diffstat (limited to 'jobs')
-rw-r--r-- | jobs/graphics.txt.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/graphics.txt.in b/jobs/graphics.txt.in index 932a715..ea44ae0 100644 --- a/jobs/graphics.txt.in +++ b/jobs/graphics.txt.in @@ -12,7 +12,7 @@ plugin: shell category_id: 2013.com.canonical.plainbox::graphics id: graphics/xorg-version requires: package.name == "x11-utils" -command: xdpyinfo | grep "^X.Org version" | cut -d ':' -f 2 | tr -d ' ' +command: set -o pipefail; xdpyinfo | grep "^X.Org version" | cut -d ':' -f 2 | tr -d ' ' estimated_duration: 0.018 _description: Test to output the Xorg version _summary: Test Xorg version |