From be460e72d5d87e4272f4663d9c3edcdc147e70b6 Mon Sep 17 00:00:00 2001 From: "juraj.linkes" Date: Tue, 28 Aug 2018 18:45:18 +0200 Subject: Fix the default step when using STEP=1 while testing Change-Id: I6b2950dfd0d9023b20e24845b3bce20cf4ba66df Signed-off-by: juraj.linkes --- test/hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hook.py b/test/hook.py index d7bfef6c101..7287aaa1920 100644 --- a/test/hook.py +++ b/test/hook.py @@ -182,7 +182,7 @@ class StepHook(PollHook): while True: print("Enter your choice, if any, and press ENTER to continue " "running the testcase...") - choice = sys.stdin.readline() + choice = sys.stdin.readline().rstrip('\r\n') if choice == "": choice = None try: -- cgit 1.2.3-korg