Following discussion in D91193, a change made in D88792 was not quite right.
This restores the message argument, and switches from expect to runCmd.
I don't think we should re-add the bogus RUN_SUCCEEDED messages here. self.runCmd("print tpi") is undocumented, but still better than wrong documentation. Beside that this LGTM, thanks!
Remove bogus message.