Fix the job_summary pexpect test on Mac

Macs don't have a CPU column in jobs.
This commit is contained in:
ridiculousfish 2020-08-12 15:04:53 -07:00
parent a0b46e6204
commit d3f8445bcb

View File

@ -32,7 +32,7 @@ expect_prompt()
sendline("false; sleep 10 &; true")
expect_prompt()
sendline("jobs")
expect_re("Job.*Group.*CPU.*State.*Command")
expect_re("Job.*Group.*(CPU)?.*State.*Command")
expect_re("running.*sleep 10 &")
expect_prompt()
sendline("kill -TERM $last_pid")