From 9a11c03097f40e169ce5d7da716077e067429eca Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 31 Dec 2019 13:17:26 -0800 Subject: [PATCH] Correct the job_ids test on the Mac The Mac doesn't provide CPU percentages so the column is omitted, causing the test to fail. Use a regex to cover both cases. --- tests/checks/job_ids.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/job_ids.fish b/tests/checks/job_ids.fish index ccf761131..f0dd0bd81 100644 --- a/tests/checks/job_ids.fish +++ b/tests/checks/job_ids.fish @@ -24,7 +24,7 @@ set -g tokill $tokill $last_pid jobs -#CHECK: Job Group CPU State Command +#CHECK: Job Group{{.*}} #CHECK: 3{{.*\t}}sleep 300 & #CHECK: 2{{.*\t}}sleep 200 & #CHECK: 1{{.*\t}}sleep 100 &