0 osh test basic !! expansion - previous command 0 osh-cpp test basic !! expansion - previous command 0 bash test basic !! expansion - previous command 1 osh Inside double quotes, !! should not be expanded, unlike bash 1 osh-cpp Inside double quotes, !! should not be expanded, unlike bash N-I 1 bash Inside double quotes, !! should not be expanded, unlike bash 2 osh Test that an expanded command gets added to history Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3938 child_fd: 7 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('echo 22') FAILED first time: Retrying 4 times Retry 1 of 4 Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3941 child_fd: 7 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('echo 22') Retry 2 of 4 Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3944 child_fd: 7 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('echo 22') Retry 3 of 4 Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3947 child_fd: 7 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('echo 22') Retry 4 of 4 Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3950 child_fd: 7 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('echo 22') 2 osh-cpp Test that an expanded command gets added to history Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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/cxx-asan/osh args: [b'_bin/cxx-asan/osh'] buffer (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3953 child_fd: 7 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('echo 22') FAILED first time: Retrying 4 times Retry 1 of 4 Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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/cxx-asan/osh args: [b'_bin/cxx-asan/osh'] buffer (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3954 child_fd: 7 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('echo 22') Retry 2 of 4 Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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/cxx-asan/osh args: [b'_bin/cxx-asan/osh'] buffer (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3955 child_fd: 7 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('echo 22') Retry 3 of 4 Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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/cxx-asan/osh args: [b'_bin/cxx-asan/osh'] buffer (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3956 child_fd: 7 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('echo 22') Retry 4 of 4 Traceback (most recent call last): File "/home/uke/oil/spec/stateful/harness.py", line 149, in RunOnce func(sh) File "/home/uke/oil/spec/stateful/history_expand.py", line 58, in history_bangbang sh.expect('echo 22') File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) File "/home/uke/oils.DEPS/wedge/py3-libs/2023-03-04/lib/python3.10/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/home/uke/oils.DEPS/wedge/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/cxx-asan/osh args: [b'_bin/cxx-asan/osh'] buffer (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' before (last 100 chars): '\r\n\x1b[?2004hosh-0.37$ \x1b[?2004l\r\r\n!!\r\n\x1b[?2004hosh-0.37$ ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 3957 child_fd: 7 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('echo 22') 2 bash Test that an expanded command gets added to history Ignoring osh-cpp failure: 2 Test that an expanded command gets added to history