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.
This commit is contained in:
ridiculousfish 2019-12-31 13:17:26 -08:00
parent b691d3130e
commit 9a11c03097

View File

@ -24,7 +24,7 @@ set -g tokill $tokill $last_pid
jobs jobs
#CHECK: Job Group CPU State Command #CHECK: Job Group{{.*}}
#CHECK: 3{{.*\t}}sleep 300 & #CHECK: 3{{.*\t}}sleep 300 &
#CHECK: 2{{.*\t}}sleep 200 & #CHECK: 2{{.*\t}}sleep 200 &
#CHECK: 1{{.*\t}}sleep 100 & #CHECK: 1{{.*\t}}sleep 100 &