Skip to content

Fix running test suite without root

Mario Limonciello requested to merge superm1/fix-non-root-tests into main

Running Tests.test_fake_driver breaks stdin on a real terminal unless the test suite is run as root. It doesn't make sense for the fake driver to capture stdin unless we are sure that we're interactive.

Lookup whether stdout is a tty and only run the keyboard setup in probe for the fake driver if we're sure we're interactive.

Merge request reports