We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43bcc23 commit 95e40efCopy full SHA for 95e40ef
tests/integration_tests/functional/test_serial_io.py
@@ -228,3 +228,10 @@ def test_no_serial_fd_error_when_daemonized(uvm_plain):
228
test_microvm.start()
229
230
assert REGISTER_FAILED_WARNING not in test_microvm.log_data
231
+
232
233
+def test_serial_file_output(uvm_any):
234
+ """Test that redirecting serial console output to a file works for booted and restored VMs"""
235
+ uvm_any.ssh.check_output("echo 'hello' > /dev/ttyS0")
236
237
+ assert b"hello" in uvm_any.serial_log_file.read_bytes()
0 commit comments