diff --git a/tests/pexpects/histfile.py b/tests/pexpects/histfile.py index a8950cf4c..f0d47e24a 100644 --- a/tests/pexpects/histfile.py +++ b/tests/pexpects/histfile.py @@ -81,6 +81,7 @@ expect_prompt() # We expect this grep to fail to find the pattern and thus the expect_prompt # block is inverted. sendline("grep '^" + hist_line + "' " + my_histfile) +expect_prompt() grephistfile(hist_line, my_histfile) expect_prompt()