test: support disabling tty on FreeBSD
authorGreg V <greg@unrelenting.technology>
Tue, 10 Jul 2018 10:47:54 +0000 (13:47 +0300)
committerGreg V <greg@unrelenting.technology>
Mon, 16 Jul 2018 10:48:51 +0000 (13:48 +0300)
commit63a2180b4015507c1fcc99cc8dba5ef06686cfc8
treeba9bb20496c445b21761837eb18ef1b6177c0a64
parentef9b7e889db97402b55a94e3e0a6d5e7b7f91dfb
test: support disabling tty on FreeBSD

Instead of K_OFF, use K_RAW plus termios raw mode.
(Same approach as in the Weston patches)
test/litest.c