]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: uml: Request non-raw serial ports
authorJohannes Berg <johannes.berg@intel.com>
Sun, 26 May 2019 20:16:20 +0000 (22:16 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 28 May 2019 10:34:44 +0000 (13:34 +0300)
commit2080f4c7797410973bd4180963d7d5ee4accd4f2
treef99d3be71f5489182abd4aa9e10e37eeb3f341a7
parentd5d156bd923cb24423b997c8db36c0552ab11833
tests: uml: Request non-raw serial ports

When the serial ports are set into raw mode on stdio (fd:0,fd:1)
then Ctrl-C is sort of passed through, but not effective. Request
non-raw mode to avoid that and let us cancel test execution with
Ctrl-C properly (both in parallel-vm.py and vm-run.sh cases).

Note that this requires a currently out-of-tree patch, but so
does the virtual time. If the patch is not applied, the command
line argument is ignored.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/vm/vm-run.sh