aboutsummaryrefslogtreecommitdiffstats
path: root/tests/edid.py
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-03-29 07:32:25 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-03-29 07:32:25 +0100
commit1343b69053a2141933486a22add4a9c304e9ff7e (patch)
treeb5f283f371fa31204e6477bc52020bf14e37be75 /tests/edid.py
parent846ed4d696c904bfffbddcc7b8294f7723ceed01 (diff)
downloaddrminfo-1343b69053a2141933486a22add4a9c304e9ff7e.tar.gz
factor out console_prepare
Diffstat (limited to 'tests/edid.py')
-rw-r--r--tests/edid.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/edid.py b/tests/edid.py
index f1f2530..564c3bb 100644
--- a/tests/edid.py
+++ b/tests/edid.py
@@ -23,9 +23,7 @@ class EDID(TestDRM):
def run_one_test(self, vga):
self.boot_gfx_vm(vga);
- self.console_wait('Entering emergency mode')
- self.console_run('PS1=---\\\\u---\\\\n')
- self.console_wait('---root---')
+ self.console_prepare();
self.console_run('edid-decode /sys/class/drm/card0-Virtual-1/edid')
edid = self.console_wait('---root---')