Re: [PATCH v2 0/2] ktest: console pty support

From: Steven Rostedt
Date: Thu Jan 29 2015 - 15:44:49 EST


On Wed, 28 Jan 2015 13:38:37 -0600
Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> These patches can be applied on top of yesterday's "ktest: restore tty settings
> after closing console" patch. They create a pty pair for the console to
> prevent the console child process from messing up ktest's tty settings.
>
> v2 changes:
> - rebased onto the stty save/restore patch
> - added a patch to enable user input to the console
>
> Josh Poimboeuf (2):
> ktest: give console process a dedicated tty
> ktest: enable user input to the console
>
> tools/testing/ktest/ktest.pl | 117 ++++++++++++++++++++++++++++++++++---------
> 1 file changed, 93 insertions(+), 24 deletions(-)
>

OK, I applied these and been using ktest since. But after one of my
tests failed (got a bug report), I had no console. I think there's a
die someplace that does not put everything back.

Think you could find out where?

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/