From fa33f6f0e092951bf6a4fa0b0cf58d074605b75e Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Mon, 20 Apr 2026 17:02:04 +0800 Subject: [PATCH] tests/checks/disown.fish: improve test robustness If the job never gets into stopped state, it will keep running forever. Narrow the wait condition, to prevent a timeout in failure scenarios. --- tests/checks/disown.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/disown.fish b/tests/checks/disown.fish index ff88c3ec5..1205d8e0e 100644 --- a/tests/checks/disown.fish +++ b/tests/checks/disown.fish @@ -14,7 +14,7 @@ status job-control full sleep 1 & set -l pid (jobs -lp) kill -SIGSTOP $pid -while not jobs | grep -q stopped +while jobs -l | grep -q running sleep .01 end disown