0 osh fg twice should not result in fatal error (issue 1004) 0 bash fg twice should not result in fatal error (issue 1004) 0 dash fg twice should not result in fatal error (issue 1004) 1 osh Call fg twice after process exits (issue 721) 1 bash Call fg twice after process exits (issue 721) 1 dash Call fg twice after process exits (issue 721) 2 osh sleep 10 then Ctrl-Z then wait should not hang (issue 1005) 2 bash sleep 10 then Ctrl-Z then wait should not hang (issue 1005) 2 dash sleep 10 then Ctrl-Z then wait should not hang (issue 1005) 3 osh sleep 10 then Ctrl-Z then wait -n should not hang 3 bash sleep 10 then Ctrl-Z then wait -n should not hang SKIP 3 dash sleep 10 then Ctrl-Z then wait -n should not hang 4 osh Resuming a stopped process 4 bash Resuming a stopped process 4 dash Resuming a stopped process 5 osh Resuming a stopped pipeline (issue 1087) Traceback (most recent call last): File "/home/andy/git/oilshell/oil/spec/stateful/harness.py", line 98, in RunOnce func(sh) File "/home/andy/git/oilshell/oil/spec/stateful/job_control.py", line 214, in stopped_pipeline sh.expect('.*Stopped.*') File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 343, in expect return self.expect_list(compiled_pattern_list, File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 372, in expect_list return exp.expect_loop(timeout) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. command: bin/osh args: [b'bin/osh', b'--rcfile', b'/dev/null'] buffer (last 100 chars): ' ' before (last 100 chars): ' ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 13770 child_fd: 6 closed: False timeout: 1.0 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile('.*Stopped.*') FAILED first time: Retrying 4 times Retry 1 of 4 Traceback (most recent call last): File "/home/andy/git/oilshell/oil/spec/stateful/harness.py", line 98, in RunOnce func(sh) File "/home/andy/git/oilshell/oil/spec/stateful/job_control.py", line 214, in stopped_pipeline sh.expect('.*Stopped.*') File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 343, in expect return self.expect_list(compiled_pattern_list, File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 372, in expect_list return exp.expect_loop(timeout) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. command: bin/osh args: [b'bin/osh', b'--rcfile', b'/dev/null'] buffer (last 100 chars): ' ' before (last 100 chars): ' ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 13776 child_fd: 6 closed: False timeout: 1.0 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile('.*Stopped.*') Retry 2 of 4 Traceback (most recent call last): File "/home/andy/git/oilshell/oil/spec/stateful/harness.py", line 98, in RunOnce func(sh) File "/home/andy/git/oilshell/oil/spec/stateful/job_control.py", line 214, in stopped_pipeline sh.expect('.*Stopped.*') File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 343, in expect return self.expect_list(compiled_pattern_list, File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 372, in expect_list return exp.expect_loop(timeout) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. command: bin/osh args: [b'bin/osh', b'--rcfile', b'/dev/null'] buffer (last 100 chars): ' ' before (last 100 chars): ' ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 13782 child_fd: 6 closed: False timeout: 1.0 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile('.*Stopped.*') Retry 3 of 4 Traceback (most recent call last): File "/home/andy/git/oilshell/oil/spec/stateful/harness.py", line 98, in RunOnce func(sh) File "/home/andy/git/oilshell/oil/spec/stateful/job_control.py", line 214, in stopped_pipeline sh.expect('.*Stopped.*') File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 343, in expect return self.expect_list(compiled_pattern_list, File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 372, in expect_list return exp.expect_loop(timeout) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. command: bin/osh args: [b'bin/osh', b'--rcfile', b'/dev/null'] buffer (last 100 chars): ' ' before (last 100 chars): ' ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 13788 child_fd: 6 closed: False timeout: 1.0 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile('.*Stopped.*') Retry 4 of 4 Traceback (most recent call last): File "/home/andy/git/oilshell/oil/spec/stateful/harness.py", line 98, in RunOnce func(sh) File "/home/andy/git/oilshell/oil/spec/stateful/job_control.py", line 214, in stopped_pipeline sh.expect('.*Stopped.*') File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 343, in expect return self.expect_list(compiled_pattern_list, File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 372, in expect_list return exp.expect_loop(timeout) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/andy/wedge/oils-for-unix.org/pkg/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. command: bin/osh args: [b'bin/osh', b'--rcfile', b'/dev/null'] buffer (last 100 chars): ' ' before (last 100 chars): ' ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 13794 child_fd: 6 closed: False timeout: 1.0 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile('.*Stopped.*') 5 bash Resuming a stopped pipeline (issue 1087) 5 dash Resuming a stopped pipeline (issue 1087)