case osh osh-cpp bash dash 0 ok ok ok ok fg twice should not result in fatal error (issue 1004) 1 ok ok ok ok Call fg twice after process exits (issue 721) 2 ok ok ok ok sleep 10; Ctrl-Z; wait; should not hang (issue 1005) 3 ok ok ok SKIP sleep 10; Ctrl-Z; wait -n; should not hang 4 ok ok ok ok ESRCH bug - pipeline with builtin 5 ok ok ok ok process: Ctrl-Z; continue with fg, cancel with Ctrl-C 6 N-I N-I ok ok Pipeline: Ctrl-Z; continue with fg; cancel with Ctrl-C (issue 1087) 7 ok ok ok ok Stop and continue a process several times 8 ok ok ok ok Ctrl-Z and then look at $? 9 ok ok ok ok A background job getting stopped (e.g. by SIGTTIN) or exiting should not disrupt foreground processes 10 ok ok ok ok fg %- and %+ 11 ok ok ok SKIP Start jobs with &; continue with fg %2 12 ok ok ok ok wait %2 %- %+