[PATCH v2] selftest/tty: Use harness framework in tty