tests: Print some more info in the job_summary test for debugging

This one fails a bunch on CI and I have no idea why.
This commit is contained in:
Fabian Homborg 2020-09-04 17:51:55 +02:00
parent 04562300e8
commit 4817f97823

View file

@ -33,7 +33,9 @@ sendline("false; sleep 10 &; true")
expect_prompt()
sendline("jobs")
expect_re("Job.*Group.*(CPU)?.*State.*Command")
expect_re("running.*sleep 10 &")
expect_re(".*running.*sleep 10 &")
expect_prompt()
sendline("echo $last_pid")
expect_prompt()
sendline("kill -TERM $last_pid")
expect_re("[0-9]+:0:sleep 10 &:SIGTERM:Polite quit request", timeout=20)