Fix the histfile.py test

Add missing expect_prompt()
This commit is contained in:
ridiculousfish 2024-06-02 15:31:19 -07:00
parent cb62ed3e3d
commit c0766c1844

View file

@ -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()