Prevent some tests from being suspended (#45760)
@@ -262,6 +262,11 @@ | ||
262 | 262 | signal_action_test_combo() { |
263 | 263 | n=${1}000 d=$2 e=$3 f=$4 |
264 | 264 | shift 4 |
265 | + | |
266 | + # Enable job-control to make sure every job-controlling testee starts in | |
267 | + # the foreground. (See #45760) | |
268 | + set $e | |
269 | + | |
265 | 270 | for a in shell child exec; do |
266 | 271 | for b in main subshell cmdsub async; do |
267 | 272 | for g in keep clear ignore command; do |
@@ -326,6 +331,8 @@ | ||
326 | 331 | done |
327 | 332 | done |
328 | 333 | done |
334 | + | |
335 | + set +m | |
329 | 336 | } |
330 | 337 | |
331 | 338 | # vim: set ft=sh ts=8 sts=4 sw=4 noet: |