From 171869858adde8da813175e5daa8f2f65f87e9af Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Tue, 2 Apr 2024 22:24:09 +0200 Subject: [PATCH] tests/histfile.py: Check for no jobs --- tests/pexpects/histfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pexpects/histfile.py b/tests/pexpects/histfile.py index cfefdc726..a8950cf4c 100644 --- a/tests/pexpects/histfile.py +++ b/tests/pexpects/histfile.py @@ -86,6 +86,8 @@ expect_prompt() # Verify that if we spawn fish with a HISTFILE env var it uses that file. # Start by shutting down the previous shell. +sendline("jobs") +expect_prompt("jobs: There are no jobs") sendline("exit") sendline("exit") sp.spawn.wait()