test_boot: show stderr of qemu process

We're only interested in capturing stdout. It might be useful to see
what qemu prints on stderr.
This commit is contained in:
Lars Karlitski 2019-10-02 00:50:12 +02:00
parent fa8de2f6d8
commit 0be34c8bcc

View file

@ -24,6 +24,6 @@ class TestBoot(osbuildtest.TestCase):
"-device", "virtserialport,chardev=stdio",
f"{self.store}/refs/{output_id}/f30-boot.qcow2"
], encoding="utf-8", capture_output=True, check=True)
], encoding="utf-8", stdout=subprocess.PIPE, check=True)
self.assertEqual(r.stdout.strip(), "running")