systest is a tool for running tests on a running Linux/Unix system, and a Python library based on unittest for writing the tests.

For example, a test might be to check that the host responds to ping:

class PingTest(systest.TestCase):

    def test(self):
        self.hostcmd(['ping', '-c1', self.settings['target']])

This test can then be run the the command line tool:

systest tests-*.py

Status: ALPHA. The API may still change in incompatible ways.