From 73c37fd806fa6d791b0a0b7e6b8a01617dbf0519 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Fri, 16 Jun 2017 08:46:44 +0800 Subject: [PATCH] 35-xorg: Fix vendor/device printout Also make sure that the keys don't end up on a single line if the new hardcoded path breaks again. --- test/tests/35-xorg | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/tests/35-xorg b/test/tests/35-xorg index b0462e35a..406e3fda5 100644 --- a/test/tests/35-xorg +++ b/test/tests/35-xorg @@ -37,10 +37,8 @@ host enter-chroot -n "$release" sh -c ' croutonversion -r echo -n "uname:" uname -a - echo -n "vendor:" - cat /sys/class/graphics/fb0/device/vendor - echo -n "device:" - cat /sys/class/graphics/fb0/device/device + echo "vendor: $(cat /sys/class/drm/card0/device/vendor)" + echo "device: $(cat /sys/class/drm/card0/device/device)" echo -n "xdriinfo:" cat /home/tmp/xdriinfo.out echo "==glxinfo"