• R/O
  • SSH
  • HTTPS

yash: コミット


コミットメタ情報

リビジョン4212 (tree)
日時2022-10-06 01:03:25
作者magicant

ログメッセージ

Prevent some tests from being suspended (#45760)

変更サマリ

差分

--- 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:
旧リポジトリブラウザで表示