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-06-08 17:33:04 +02:00
2020-11-11 19:57:29 +01:00
2020-11-13 15:11:29 +01:00
2020-11-11 19:20:55 +01:00
2020-06-08 22:57:46 +02:00
2020-06-24 20:43:56 +02:00
2020-09-22 16:13:24 +02:00
2020-06-13 16:18:17 +02:00
2020-06-13 15:21:40 +02:00
2020-09-27 09:22:45 +02:00
2020-11-06 17:56:38 +01:00