23 passed, 2 OK, 0 not implemented, 0 BUG, 103 failed, 42 timeouts, 0 cases skipped 7 failed under osh
toysh | 0 history -a [toysh stdout] Expected '1\nHISTFILE=tmp\necho 1\nhistory -a\n2\nHISTFILE=tmp\necho 1\nhistory -a\n^D\n' Got '1\n2\n' [toysh status] Expected 0 Got -6 stdout: 1 2stderr: $ $ sh: history: No such file or directory $ $ $ $ sh: history: No such file or directory $ cat: tmp: No such file or directory $ $ $ $ cat: tmp: No such file or directory $ $ munmap_chunk(): invalid pointer |
sush | 0 history -a [sush stdout] Expected '1\nHISTFILE=tmp\necho 1\nhistory -a\n2\nHISTFILE=tmp\necho 1\nhistory -a\n^D\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: : line : set: -i: invalid option |
brush | 0 history -a [brush stdout] Expected '1\nHISTFILE=tmp\necho 1\nhistory -a\n2\nHISTFILE=tmp\necho 1\nhistory -a\n^D\n' Got '1\nHISTFILE=tmp\necho 1\nhistory -a\n2\nHISTFILE=tmp\necho 1\nhistory -a\n' stdout: 1 HISTFILE=tmp echo 1 history -a 2 HISTFILE=tmp echo 1 history -astderr: exit |
dash | 1 history -w writes out the in-memory history to the history file [dash stdout] Expected 'found=1\n' Got 'found=0\n' stdout: found=0stderr: dash: 5: history: not found dash: 7: history: not found |
ash | 1 history -w writes out the in-memory history to the history file [ash stdout] Expected 'found=1\n' Got 'found=0\n' stdout: found=0stderr: |
zsh | 1 history -w writes out the in-memory history to the history file [zsh stdout] Expected 'found=1\n' Got 'found=0\n' stdout: found=0stderr: zsh: bad option: -c zsh: bad option: -w |
mksh | 1 history -w writes out the in-memory history to the history file [mksh stdout] Expected 'found=1\n' Got 'found=0\n' stdout: found=0stderr: mksh: <stdin>[5]: fc: history functions not available mksh: <stdin>[7]: fc: history functions not available |
ksh | 1 history -w writes out the in-memory history to the history file [ksh stdout] Expected 'found=1\n' Got 'found=0\n' stdout: found=0stderr: E: ksh: <stdin>[5]: fc: history functions not available E: ksh: <stdin>[7]: fc: history functions not available |
toysh | 1 history -w writes out the in-memory history to the history file [toysh stdout] Expected 'found=1\n' Got 'found=0\n' stdout: found=0stderr: sh: history: No such file or directory sh: history: No such file or directory |
sush | 1 history -w writes out the in-memory history to the history file [sush stdout] Expected 'found=1\n' Got 'found=0\n' stdout: found=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: history: -w: invalid option |
brush | 1 history -w writes out the in-memory history to the history file [brush stdout] Expected 'found=1\n' Got 'found=0\n' stdout: found=0stderr: history: history not available in this shell history: history not available in this shell |
osh | 1 history -w writes out the in-memory history to the history file [osh stdout] Expected 'found=1\n' Got 'found=0\n' stdout: found=0stderr: history -w # Overwrite history file ^~ [ stdin ]:7: 'history' doesn't accept flag -w |
dash | 2 history -r reads from the history file, and appends it to the current history [dash stdout] Expected '20\n' Got '0\n' stdout: 0stderr: dash: 5: history: not found dash: 7: history: not found dash: 8: history: not found dash: 10: history: not found |
ash | 2 history -r reads from the history file, and appends it to the current history [ash stdout] Expected '20\n' Got '0\n' stdout: 0stderr: |
zsh | 2 history -r reads from the history file, and appends it to the current history [zsh stdout] Expected '20\n' Got '0\n' stdout: 0stderr: zsh: bad option: -c fc: no such event: 1 fc: no such event: 1 fc: no such event: 1 |
mksh | 2 history -r reads from the history file, and appends it to the current history [mksh stdout] Expected '20\n' Got '0\n' stdout: 0stderr: mksh: <stdin>[5]: fc: history functions not available mksh: <stdin>[7]: fc: history functions not available mksh: <stdin>[8]: fc: history functions not available mksh: <stdin>[10]: fc: history functions not available |
ksh | 2 history -r reads from the history file, and appends it to the current history [ksh stdout] Expected '20\n' Got '0\n' stdout: 0stderr: E: ksh: <stdin>[5]: fc: history functions not available E: ksh: <stdin>[7]: fc: history functions not available E: ksh: <stdin>[8]: fc: history functions not available E: ksh: <stdin>[10]: fc: history functions not available |
toysh | 2 history -r reads from the history file, and appends it to the current history [toysh stdout] Expected '20\n' Got '0\n' stdout: 0stderr: sh: history: No such file or directory sh: history: No such file or directory sh: history: No such file or directory sh: history: No such file or directory |
sush | 2 history -r reads from the history file, and appends it to the current history [sush stdout] Expected '20\n' Got '10\n' stdout: 10stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: history: -r: invalid option /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: history: -r: invalid option |
brush | 2 history -r reads from the history file, and appends it to the current history [brush stdout] Expected '20\n' Got '0\n' stdout: 0stderr: history: history not available in this shell history: history not available in this shell history: history not available in this shell history: history not available in this shell |
dash | 3 history -n reads *new* commands from the history file, and appends them to the current history [dash stdout] Expected '10\n10\n' Got '0\n0\n' stdout: 0 0stderr: dash: 7: history: not found dash: 8: history: not found dash: 9: history: not found dash: 11: history: not found dash: 12: history: not found |
ash | 3 history -n reads *new* commands from the history file, and appends them to the current history [ash stdout] Expected '10\n10\n' Got '0\n0\n' stdout: 0 0stderr: |
zsh | 3 history -n reads *new* commands from the history file, and appends them to the current history [zsh stdout] Expected '10\n10\n' Got '0\n0\n' stdout: 0 0stderr: zsh: bad option: -c fc: no such event: 1 fc: no such event: 1 fc: no such event: 1 fc: no such event: 1 |
mksh | 3 history -n reads *new* commands from the history file, and appends them to the current history [mksh stdout] Expected '10\n10\n' Got '0\n0\n' stdout: 0 0stderr: mksh: <stdin>[7]: fc: history functions not available mksh: <stdin>[8]: fc: history functions not available mksh: <stdin>[9]: fc: history functions not available mksh: <stdin>[11]: fc: history functions not available mksh: <stdin>[12]: fc: history functions not available |
ksh | 3 history -n reads *new* commands from the history file, and appends them to the current history [ksh stdout] Expected '10\n10\n' Got '0\n0\n' stdout: 0 0stderr: E: ksh: <stdin>[7]: fc: history functions not available E: ksh: <stdin>[8]: fc: history functions not available E: ksh: <stdin>[9]: fc: history functions not available E: ksh: <stdin>[11]: fc: history functions not available E: ksh: <stdin>[12]: fc: history functions not available |
toysh | 3 history -n reads *new* commands from the history file, and appends them to the current history [toysh stdout] Expected '10\n10\n' Got '0\n0\n' stdout: 0 0stderr: sh: history: No such file or directory sh: history: No such file or directory sh: history: No such file or directory sh: history: No such file or directory sh: history: No such file or directory |
sush | 3 history -n reads *new* commands from the history file, and appends them to the current history [sush stdout] Expected '10\n10\n' Got '0\n0\n' stdout: 0 0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: history: -r: invalid option /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 9: history: -n: invalid option |
brush | 3 history -n reads *new* commands from the history file, and appends them to the current history [brush stdout] Expected '10\n10\n' Got '0\n0\n' stdout: 0 0stderr: history: history not available in this shell history: history not available in this shell history: history not available in this shell history: history not available in this shell history: history not available in this shell |
osh | 3 history -n reads *new* commands from the history file, and appends them to the current history [osh stdout] Expected '10\n10\n' Got '10\n0\n' stdout: 10 0stderr: HISTFILE=tmp2 history -n ^~ [ stdin ]:9: 'history' doesn't accept flag -n |
dash | 4 history -c clears in-memory history [dash stdout] Expected '1\n^D\n' Got '' stdout: stderr: dash: 0: Illegal option -- |
zsh | 4 history -c clears in-memory history [zsh stdout] Expected '1\n^D\n' Got '' stdout: stderr: zsh: no such option: norc |
mksh | 4 history -c clears in-memory history [mksh stdout] Expected '1\n^D\n' Got '' stdout: stderr: mksh: mksh: --: unknown option |
ksh | 4 history -c clears in-memory history [ksh stdout] Expected '1\n^D\n' Got '' stdout: stderr: E: ksh: --: unknown option |
toysh | 4 history -c clears in-memory history [toysh stdout] Expected '1\n^D\n' Got '0\n' [toysh status] Expected 0 Got -6 stdout: 0stderr: $ $ $ sh: history: No such file or directory $ sh: history: No such file or directory $ munmap_chunk(): invalid pointer |
sush | 4 history -c clears in-memory history [sush stdout] Expected '1\n^D\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: : line : set: --norc: invalid option |
brush | 4 history -c clears in-memory history [brush stdout] Expected '1\n^D\n' Got '1\n' stdout: 1stderr: exit |
sush | 5 history -d to delete 1 item [sush stdout] Expected 'status=1\n' Got 'status=0\n' stdout: status=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: history: -r: invalid option /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: history: -d: invalid option |
dash | 6 history -d to delete history from end [dash stdout] Expected '42\n43\n44\nstatus=0\nstatus=0\nstatus=0\nstatus=1\n^D\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 0: Illegal option -- |
zsh | 6 history -d to delete history from end [zsh stdout] Expected '42\n43\n44\nstatus=0\nstatus=0\nstatus=0\nstatus=1\n^D\n' Got '' [zsh status] Expected 0 Got 1 stdout: stderr: zsh: no such option: norc |
mksh | 6 history -d to delete history from end [mksh stdout] Expected '42\n43\n44\nstatus=0\nstatus=0\nstatus=0\nstatus=1\n^D\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: mksh: --: unknown option |
ksh | 6 history -d to delete history from end [ksh stdout] Expected '42\n43\n44\nstatus=0\nstatus=0\nstatus=0\nstatus=1\n^D\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: --: unknown option |
toysh | 6 history -d to delete history from end [toysh stdout] Expected '42\n43\n44\nstatus=0\nstatus=0\nstatus=0\nstatus=1\n^D\n' Got '42\n43\n44\nstatus=127\nstatus=127\nstatus=127\nstatus=127\n' [toysh status] Expected 0 Got 139 stdout: 42 43 44 status=127 status=127 status=127 status=127stderr: $ $ $ $ $ $ sh: history: No such file or directory $ $ sh: history: No such file or directory $ $ $ sh: history: No such file or directory $ $ sh: history: No such file or directory $ $ sh: history: No such file or directory $ $ $ |
sush | 6 history -d to delete history from end [sush stdout] Expected '42\n43\n44\nstatus=0\nstatus=0\nstatus=0\nstatus=1\n^D\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: : line : set: --norc: invalid option |
brush | 6 history -d to delete history from end [brush stdout] Expected '42\n43\n44\nstatus=0\nstatus=0\nstatus=0\nstatus=1\n^D\n' Got '42\n43\n44\nstatus=0\nstatus=0\nstatus=0\nstatus=2\n' stdout: 42 43 44 status=0 status=0 status=0 status=2stderr: index past end of history exit |
osh | 6 history -d to delete history from end [osh stdout] Expected '42\n43\n44\nstatus=0\nstatus=0\nstatus=0\nstatus=1\n^D\n' Got '42\n43\n44\nstatus=0\nstatus=2\nstatus=2\nstatus=2\n^D\n' stdout: 42 43 44 status=0 status=2 status=2 status=2 ^Dstderr: osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ history -d -1 ^~ [ stdin -i ]:11: 'history' got invalid integer for -d: -1 osh-0.35$ osh-0.35$ history -d -2 ^~ [ stdin -i ]:13: 'history' got invalid integer for -d: -2 osh-0.35$ osh-0.35$ history -d 99 ^~~~~~~ [ stdin -i ]:15: 'history' couldn't find item 99 osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ |
toysh | 7 HISTFILE is defined initially [toysh stdout] Expected 'exists\n^D\n' Got 'exists\n' [toysh status] Expected 0 Got -6 stdout: existsstderr: $ $ $ $ munmap_chunk(): invalid pointer |
sush | 7 HISTFILE is defined initially [sush stdout] Expected 'exists\n^D\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: : line : set: -i: invalid option |
brush | 7 HISTFILE is defined initially [brush stdout] Expected 'exists\n^D\n' Got 'exists\n' stdout: existsstderr: exit |
toysh | 8 HISTFILE must point to a file [toysh stdout] Expected 'status=1\n^D\n' Got 'status=127\n' [toysh status] Expected 0 Got -6 stdout: status=127stderr: $ $ $ sh: history: No such file or directory $ $ $ munmap_chunk(): invalid pointer |
sush | 8 HISTFILE must point to a file [sush stdout] Expected 'status=1\n^D\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: : line : set: -i: invalid option |
brush | 8 HISTFILE must point to a file [brush stdout] Expected 'status=1\n^D\n' Got 'status=1\n' stdout: status=1stderr: [33m WARN[0m not yet implemented: history -r is not yet implemented exit |
toysh | 9 HISTFILE set to array [toysh stdout] Expected 'status=1\n^D\n' Got 'status=127\n' [toysh status] Expected 0 Got -6 stdout: status=127stderr: $ $ sh: syntax error: a $ sh: history: No such file or directory $ $ $ munmap_chunk(): invalid pointer |
sush | 9 HISTFILE set to array [sush stdout] Expected 'status=1\n^D\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: : line : set: -i: invalid option |
brush | 9 HISTFILE set to array [brush stdout] Expected 'status=1\n^D\n' Got 'status=0\n' stdout: status=0stderr: exit |
toysh | 10 HISTFILE unset [toysh stdout] Expected 'status=1\n^D\n' Got 'status=127\n' [toysh status] Expected 0 Got -6 stdout: status=127stderr: $ $ $ sh: history: No such file or directory $ $ $ munmap_chunk(): invalid pointer |
sush | 10 HISTFILE unset [sush stdout] Expected 'status=1\n^D\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: : line : set: -i: invalid option |
brush | 10 HISTFILE unset [brush stdout] Expected 'status=1\n^D\n' Got 'status=0\n' stdout: status=0stderr: exit |
bash | 11 history usage stdout: status=1 status=1stderr: bash: line 1: history: not-a-number: numeric argument required bash: line 4: history: too many arguments |
dash | 11 history usage [dash stdout] Expected 'status=2\nstatus=2\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: dash: 1: history: not found dash: 4: history: not found |
ash | 11 history usage [ash stdout] Expected 'status=2\nstatus=2\n' Got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: |
zsh | 11 history usage [zsh stdout] Expected 'status=2\nstatus=2\n' Got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: fc: event not found: not-a-number fc: event not found: too-many |
mksh | 11 history usage [mksh stdout] Expected 'status=2\nstatus=2\n' Got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: mksh: <stdin>[1]: fc: history functions not available mksh: <stdin>[4]: fc: history functions not available |
ksh | 11 history usage [ksh stdout] Expected 'status=2\nstatus=2\n' Got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: E: ksh: <stdin>[1]: fc: history functions not available E: ksh: <stdin>[4]: fc: history functions not available |
toysh | 11 history usage [toysh stdout] Expected 'status=2\nstatus=2\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: sh: history: No such file or directory sh: history: No such file or directory |
sush | 11 history usage [sush stdout] Expected 'status=2\nstatus=2\n' Got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: history: not-a-number: invalid option /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: history: 3: invalid option |
brush | 11 history usage [brush stdout] Expected 'status=2\nstatus=2\n' Got 'status=99\nstatus=99\n' stdout: status=99 status=99stderr: history: history not available in this shell history: history not available in this shell |
dash | 12 HISTSIZE shrinks the in-memory history when changed [dash stdout] Expected '10\n5\n' Got '0\n0\n' stdout: 0 0stderr: dash: 4: history: not found dash: 5: history: not found dash: 6: history: not found dash: 8: history: not found |
ash | 12 HISTSIZE shrinks the in-memory history when changed [ash stdout] Expected '10\n5\n' Got '0\n0\n' stdout: 0 0stderr: |
zsh | 12 HISTSIZE shrinks the in-memory history when changed [zsh stdout] Expected '10\n5\n' Got '0\n0\n' stdout: 0 0stderr: zsh: bad option: -c fc: no such event: 1 fc: no such event: 1 fc: no such event: 1 |
mksh | 12 HISTSIZE shrinks the in-memory history when changed [mksh stdout] Expected '10\n5\n' Got '0\n0\n' stdout: 0 0stderr: mksh: <stdin>[4]: fc: history functions not available mksh: <stdin>[5]: fc: history functions not available mksh: <stdin>[6]: fc: history functions not available mksh: <stdin>[8]: fc: history functions not available |
ksh | 12 HISTSIZE shrinks the in-memory history when changed [ksh stdout] Expected '10\n5\n' Got '0\n0\n' stdout: 0 0stderr: E: ksh: <stdin>[4]: fc: history functions not available E: ksh: <stdin>[5]: fc: history functions not available E: ksh: <stdin>[6]: fc: history functions not available E: ksh: <stdin>[8]: fc: history functions not available |
toysh | 12 HISTSIZE shrinks the in-memory history when changed [toysh stdout] Expected '10\n5\n' Got '0\n0\n' stdout: 0 0stderr: sh: history: No such file or directory sh: history: No such file or directory sh: history: No such file or directory sh: history: No such file or directory |
sush | 12 HISTSIZE shrinks the in-memory history when changed [sush stdout] Expected '10\n5\n' Got '10\n10\n' stdout: 10 10stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: history: -r: invalid option |
brush | 12 HISTSIZE shrinks the in-memory history when changed [brush stdout] Expected '10\n5\n' Got '0\n0\n' stdout: 0 0stderr: history: history not available in this shell history: history not available in this shell history: history not available in this shell history: history not available in this shell |
osh | 12 HISTSIZE shrinks the in-memory history when changed [osh stdout] Expected '10\n5\n' Got '10\n10\n' stdout: 10 10stderr: |
dash | 13 HISTFILESIZE shrinks the history file when changed [dash stdout] Expected '5\n' Got '1\n' stdout: 1stderr: |
ash | 13 HISTFILESIZE shrinks the history file when changed [ash stdout] Expected '5\n' Got '1\n' stdout: 1stderr: |
zsh | 13 HISTFILESIZE shrinks the history file when changed [zsh stdout] Expected '5\n' Got '10\n' stdout: 10stderr: |
mksh | 13 HISTFILESIZE shrinks the history file when changed [mksh stdout] Expected '5\n' Got '1\n' stdout: 1stderr: |
ksh | 13 HISTFILESIZE shrinks the history file when changed [ksh stdout] Expected '5\n' Got '1\n' stdout: 1stderr: |
toysh | 13 HISTFILESIZE shrinks the history file when changed [toysh stdout] Expected '5\n' Got '10\n' stdout: 10stderr: |
sush | 13 HISTFILESIZE shrinks the history file when changed [sush stdout] Expected '5\n' Got '10\n' stdout: 10stderr: |
brush | 13 HISTFILESIZE shrinks the history file when changed [brush stdout] Expected '5\n' Got '10\n' stdout: 10stderr: |
osh | 13 HISTFILESIZE shrinks the history file when changed [osh stdout] Expected '5\n' Got '10\n' stdout: 10stderr: |
toysh | 14 recording history can be toggled with set -o/+o history [toysh stdout] Expected '^D\nstatus=1\nstatus=0\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: $ set: bad -o history $ $ set: bad -o history $ $ munmap_chunk(): invalid pointer |
sush | 14 recording history can be toggled with set -o/+o history [sush stdout] Expected '^D\nstatus=1\nstatus=0\n' Got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: : line : set: -i: invalid option |
brush | 14 recording history can be toggled with set -o/+o history [brush stdout] Expected '^D\nstatus=1\nstatus=0\n' Got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: exit |
osh | 14 recording history can be toggled with set -o/+o history [osh stdout] Expected '^D\nstatus=1\nstatus=0\n' Got '^D\nstatus=0\nstatus=0\n' stdout: ^D status=0 status=0stderr: shopt -s globstar # long overdue, try out wc -l **/*.py ^~~~~ /home/andy/git/dotfiles//interactive.bash:23: 'shopt' got invalid option 'globstar' [osh] hoover /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/builtin-history.test.sh/14-osh$ set +o history ^~~ [ stdin -i ]:1: 'set' got invalid option 'history' [osh] hoover /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/builtin-history.test.sh/14-osh$ [osh] hoover /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/builtin-history.test.sh/14-osh$ set -o history ^~~ [ stdin -i ]:3: 'set' got invalid option 'history' [osh] hoover /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/builtin-history.test.sh/14-osh$ [osh] hoover /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/builtin-history.test.sh/14-osh$ |
dash | 15 shopt histappend toggle check [dash stdout] Expected 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n^D\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: dash: 1: shopt: not found dash: 3: shopt: not found dash: 4: shopt: not found dash: 6: shopt: not found |
ash | 15 shopt histappend toggle check [ash stdout] Expected 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n^D\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found |
zsh | 15 shopt histappend toggle check [zsh stdout] Expected 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n^D\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt |
mksh | 15 shopt histappend toggle check [mksh stdout] Expected 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n^D\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: shopt: not found mksh: <stdin>[4]: shopt: not found mksh: <stdin>[6]: shopt: not found |
ksh | 15 shopt histappend toggle check [ksh stdout] Expected 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n^D\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[3]: shopt: inaccessible or not found E: ksh: <stdin>[4]: shopt: inaccessible or not found E: ksh: <stdin>[6]: shopt: inaccessible or not found |
toysh | 15 shopt histappend toggle check [toysh stdout] Expected 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n^D\n' Got 'status=127\nstatus=127\n' [toysh status] Expected 0 Got -6 stdout: status=127 status=127stderr: sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory munmap_chunk(): invalid pointer |
sush | 15 shopt histappend toggle check [sush stdout] Expected 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n^D\n' Got 'status=1\nhistappend off\nstatus=0\nhistappend off\n' stdout: status=1 histappend off status=0 histappend offstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: shopt: histappend: not supported yet |
brush | 15 shopt histappend toggle check [brush stdout] Expected 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n^D\n' Got 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n' stdout: status=0 shopt -s histappend status=0 shopt -u histappendstderr: |
osh | 15 shopt histappend toggle check [osh stdout] Expected 'status=0\nshopt -s histappend\nstatus=0\nshopt -u histappend\n^D\n' Got 'status=2\nstatus=2\n' stdout: status=2 status=2stderr: shopt -s histappend ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'histappend' shopt -p histappend ^~~~~ [ stdin ]:3: 'shopt' got invalid option 'histappend' shopt -u histappend ^~~~~ [ stdin ]:4: 'shopt' got invalid option 'histappend' shopt -p histappend ^~~~~ [ stdin ]:6: 'shopt' got invalid option 'histappend' |
dash | 16 shopt histappend - osh ignores shopt and appends, bash sometimes overwrites [dash stdout] Expected '^D\nstatus=0\n^D\nstatus=1\n' Got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: dash: 9: [[: not found dash: 0: Illegal option -- dash: 9: [[: not found dash: 0: Illegal option -- |
zsh | 16 shopt histappend - osh ignores shopt and appends, bash sometimes overwrites [zsh stdout] Expected '^D\nstatus=0\n^D\nstatus=1\n' Got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: zsh: no such option: norc zsh: no such option: norc |
mksh | 16 shopt histappend - osh ignores shopt and appends, bash sometimes overwrites [mksh stdout] Expected '^D\nstatus=0\n^D\nstatus=1\n' Got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: mksh: mksh: --: unknown option mksh: mksh: --: unknown option |
ksh | 16 shopt histappend - osh ignores shopt and appends, bash sometimes overwrites [ksh stdout] Expected '^D\nstatus=0\n^D\nstatus=1\n' Got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: E: ksh: --: unknown option E: ksh: --: unknown option |
toysh | 16 shopt histappend - osh ignores shopt and appends, bash sometimes overwrites [toysh stdout] Expected '^D\nstatus=0\n^D\nstatus=1\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: $ $ sh: shopt: No such file or directory $ $ $ $ munmap_chunk(): invalid pointer |
sush | 16 shopt histappend - osh ignores shopt and appends, bash sometimes overwrites [sush stdout] Expected '^D\nstatus=0\n^D\nstatus=1\n' Got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: : line : set: --norc: invalid option : line : set: --norc: invalid option |
brush | 16 shopt histappend - osh ignores shopt and appends, bash sometimes overwrites [brush stdout] Expected '^D\nstatus=0\n^D\nstatus=1\n' Got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: exit exit |
osh | 16 shopt histappend - osh ignores shopt and appends, bash sometimes overwrites stdout: ^D status=0 ^D status=0stderr: osh-0.35$ osh-0.35$ shopt -s histappend ^~~~~ [ stdin -i ]:2: 'shopt' got invalid option 'histappend' osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ shopt -u histappend ^~~~~ [ stdin -i ]:2: 'shopt' got invalid option 'histappend' osh-0.35$ osh-0.35$ osh-0.35$ osh-0.35$ |