diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-07-23 16:31:15 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-07-23 16:31:15 +0200 |
commit | 6ca200fedf88bf8fba57b3f2eda59799d6f574cd (patch) | |
tree | f592d2b71401dc026112d1b3e0f6db7b36df1fae /units/graphics | |
parent | 22b317e6019e8aa8f46783bb17d59b220a764fbd (diff) |
Import plainbox-provider-checkbox_0.46.0~rc1.orig.tar.gzupstream-0.46.0_rc1patched-0.46.0_rc1-1
Diffstat (limited to 'units/graphics')
-rw-r--r-- | units/graphics/jobs.pxu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 08bc7b3..88efe86 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -8,7 +8,7 @@ command: source graphics_env {driver} {index} graphics_driver estimated_duration: 0.5 -_description: Parses Xorg.0.Log and discovers the running X driver and version for the {vendor} {product} graphics card +_description: Parses Xorg.0.log and discovers the running X driver and version for the {vendor} {product} graphics card _summary: Test X driver/version for {vendor} {product} plugin: shell @@ -205,7 +205,7 @@ _description: plugin: shell category_id: com.canonical.plainbox::graphics id: graphics/VESA_drivers_not_in_use -command: cat /var/log/Xorg.0.log | perl -e '$a=0;while(<>){$a++ if /Loading.*vesa_drv\.so/;$a-- if /Unloading.*vesa/&&$a}exit 1 if $a' +command: cat /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log 2>&1 | perl -e '$a=0;while(<>){$a++ if /Loading.*vesa_drv\.so/;$a-- if /Unloading.*vesa/&&$a}exit 1 if $a' estimated_duration: 0.011 _description: Check that VESA drivers are not in use _summary: Test that VESA drivers are not in use |