[GIT PULL][PATCH 1/2] ktest: Fix while loop in wait_for_input

2017-03-08 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The run_command function was changed to use the wait_for_input function to allow having a timeout if the command to run takes too much time. There was a bug in the wait_for_input where it could end up going into an infinite loop. There's two

[GIT PULL][PATCH 1/2] ktest: Fix while loop in wait_for_input

2017-03-08 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The run_command function was changed to use the wait_for_input function to allow having a timeout if the command to run takes too much time. There was a bug in the wait_for_input where it could end up going into an infinite loop. There's two issues here. One is