Subject: Make comint-tests more robust

From: Mattias Engdegård <[email-masked]>
Date: Mon, 30 Dec 2019 14:57:03 +0100

There seem to be races in the new comint-tests; they frequently hang and/or fail when run (make check) on macOS.
This patch should improve matters. OK for emacs-27?