• R/O
  • SSH
  • HTTPS

yash: 提交


Commit MetaInfo

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

Log Message

Skip unstable tests about stopping signals (#45760)

There are more parameter combinations we have missed to skip.

Change Summary

差異

--- yash/trunk/tests/signal.sh (revision 4212)
+++ yash/trunk/tests/signal.sh (revision 4213)
@@ -285,10 +285,24 @@
285285 # For +m, handling of TTIN, TTOU and TSTP is POSIXly unspecified.
286286 continue
287287 fi
288+ # Skip combinations that would freeze the test.
289+ case $a in
290+ (shell)
291+ continue ;;
292+ (child)
293+ if [ $b != main ]; then continue; fi ;;
294+ (exec)
295+ if [ $b != subshell ]; then continue; fi ;;
296+ esac
297+ if [ $a = shell ]; then
298+ continue
299+ fi
288300 if [ $a = child ] && [ $b != main ]; then
289- # This combination would freeze the test.
290301 continue
291302 fi
303+ if [ $a = exec ] && [ $b != subshell ]; then
304+ continue
305+ fi
292306 esac
293307 case $s in (KILL|STOP)
294308 if [ $f = ignored ]; then
Show on old repository browser