• R/O
  • SSH
  • HTTPS

yash: 提交


Commit MetaInfo

修訂4212 (tree)
時間2022-10-06 01:03:25
作者magicant

Log Message

Prevent some tests from being suspended (#45760)

Change Summary

差異

--- yash/trunk/tests/signal.sh (revision 4211)
+++ yash/trunk/tests/signal.sh (revision 4212)
@@ -262,6 +262,11 @@
262262 signal_action_test_combo() {
263263 n=${1}000 d=$2 e=$3 f=$4
264264 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+
265270 for a in shell child exec; do
266271 for b in main subshell cmdsub async; do
267272 for g in keep clear ignore command; do
@@ -326,6 +331,8 @@
326331 done
327332 done
328333 done
334+
335+ set +m
329336 }
330337
331338 # vim: set ft=sh ts=8 sts=4 sw=4 noet:
Show on old repository browser