> From: Stephen Hemminger <[email protected]> > Sent: Thursday, January 14, 2021 4:46 PM > To: Richardson, Bruce <[email protected]>; Van Haaren, Harry > <[email protected]>; De Lara Guarch, Pablo > <[email protected]> > Cc: [email protected]; [email protected]; Stephen Hemminger > <[email protected]> > Subject: [PATCH] test: don't break terminal settings when running tests > > When running one test (via DPDK_TEST) the test program > would leave the terminal in raw mode. This was because > it was setting up cmdline to do interactive input. > > The fix is to use cmdline_new() for the interactive > case. > > This also fixes a memory leak because the test > runner was never calling cmdline_free(). > > Fixes: 9b848774a5dc ("test: use env variable to run tests") > Cc: [email protected] > Signed-off-by: Stephen Hemminger <[email protected]>
Tested-by: Harry van Haaren <[email protected]>

