Fabian Homborg 4c9d01cab0 Fix fg tests on macOS
Apparently on macOS SIGTSTP (from control-Z) causes `read()` to return
EINTR.

This means `cat | cat` will exit as soon as it's backgrounded and
brought back.

So instead we use `sleep`, which won't read(), and therefore is
impervious to these puny attacks.

See discussion in #7447.
2020-11-13 15:11:29 +01:00
..
2020-11-07 22:48:13 +01:00
2020-11-13 15:11:29 +01:00
2020-09-06 11:15:54 +02:00