From c0766c1844ca2d1082c65418e58b47a1f686e93c Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 2 Jun 2024 15:31:19 -0700 Subject: [PATCH] Fix the histfile.py test Add missing expect_prompt() --- tests/pexpects/histfile.py | 1 + 1 file changed, 1 insertion(+) 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()