[LTP] [PATCH] pty/pty02: new test for hang involving EXTPROC|ICANON terminal mode

Cyril Hrubis chrubis@suse.cz
Fri May 18 15:16:31 CEST 2018


Hi!
> +	tst_res(TINFO, "Calling FIONREAD, this will hang in n_tty_ioctl() if the bug is present...");
> +	SAFE_IOCTL(pts, FIONREAD, &nbytes);

I've added two SAFE_CLOSE() here so that the test works with the -i 1000
as well and pushed, thanks.

> +	tst_res(TPASS, "Got to the end without hanging");
> +}

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list