diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-08-17 13:50:03 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-08-17 14:06:39 +0200 |
commit | 68ed1ee6fc881fd67d71500dfa3a01dc8af0901d (patch) | |
tree | f68c3a2a91b22ae47c99e275862f7742dfde1518 | |
parent | 490442630911cfc149e72a00fd52b6f17b67ea68 (diff) | |
download | drminfo-68ed1ee6fc881fd67d71500dfa3a01dc8af0901d.tar.gz |
tests: add append arg to boot_gfx_vm
-rw-r--r-- | tests/drminfo/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/drminfo/__init__.py b/tests/drminfo/__init__.py index c147709..c37ade6 100644 --- a/tests/drminfo/__init__.py +++ b/tests/drminfo/__init__.py @@ -130,8 +130,9 @@ class TestDRM(avocado.Test): cmdline += " \"%s\" \"%s\"" % (self.initrd, kversion) run(cmdline) - def boot_gfx_vm(self, vga, display = None, vm = None, incoming = None): - append = "console=ttyS0 rd.shell" + def boot_gfx_vm(self, vga, display = None, vm = None, incoming = None, append = ""): + append += " console=ttyS0" + append += " rd.shell" self.log.info("### boot kernel with display device \"%s\"" % vga) if vm is None: |