test: verify independent guests and recovery on private displays

This commit is contained in:
Codex
2026-10-13 04:44:46 +03:00
parent 30ac68ed60
commit 664c995f84
11 changed files with 608 additions and 47 deletions
+2 -1
View File
@@ -82,7 +82,8 @@ class SessionTests(unittest.TestCase):
self.assertEqual(main(base + ['view', 'alpha']), 1)
self.assertIn('viewer', error.getvalue().lower())
def test_windowed_viewer_exit_leaves_vm_control_untouched(self):
def test_windowed_viewer_exit_with_missing_iso_leaves_vm_control_untouched(self):
self.iso.unlink()
viewer = self.root / 'fake-viewer'
viewer.write_text('#!/bin/sh\ncase "$1" in --help) echo --hide-toolbar; exit 0;; esac\nexit 7\n')
viewer.chmod(0o700)