From f63d70298fd359609610e922aaab6c9e6c5ff502 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 5 Aug 2020 23:38:44 +0200 Subject: [PATCH] tests: Use `ps -o stat` instead of "state" Oh, Alpine --- tests/checks/jobs.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/jobs.fish b/tests/checks/jobs.fish index 1ad32670d..2dfb6da4d 100644 --- a/tests/checks/jobs.fish +++ b/tests/checks/jobs.fish @@ -12,7 +12,7 @@ echo Trigger process reaping # be gone by the time we get here. Unfortunately, kill from procps on pre-2016 distributions # does not print an error for non-existent PIDs, so instead look for zombies in this session # (there should be none). -ps -o state | string match 'Z*' +ps -o stat | string match 'Z*' jobs -q echo $status