24 passed, 1 OK, 2 not implemented, 0 BUG, 136 failed, 17 timeouts, 0 cases skipped
dash | 0 'exit' in oshrc (regression) [dash stdout] Expected 'one\n', got '' [dash status] Expected 42, got 2 stdout: stderr: dash: 0: Illegal option -- |
zsh | 0 'exit' in oshrc (regression) [zsh stdout] Expected 'one\n', got '' [zsh status] Expected 42, got 1 stdout: stderr: zsh: no such option: rcfile |
mksh | 0 'exit' in oshrc (regression) [mksh stdout] Expected 'one\n', got '' [mksh status] Expected 42, got 1 stdout: stderr: mksh: mksh: --: unknown option |
ksh | 0 'exit' in oshrc (regression) [ksh stdout] Expected 'one\n', got '' [ksh status] Expected 42, got 1 stdout: stderr: E: ksh: --: unknown option |
toysh | 0 'exit' in oshrc (regression) [toysh stdout] Expected 'one\n', got '' [toysh status] Expected 42, got 1 stdout: stderr: sh: Unknown option 'rcfile' (see "sh --help") |
sush | 0 'exit' in oshrc (regression) [sush stdout] Expected 'one\n', got '' [sush status] Expected 42, got 2 stdout: stderr: : line : set: --: invalid option |
brush | 0 'exit' in oshrc (regression) [brush stdout] Expected 'one\n', got 'one\nhello\n' [brush status] Expected 42, got 0 stdout: one hellostderr: |
dash | 1 fatal errors continue [dash stdout] Expected 'one\n', got '' [dash status] Expected 42, got 2 stdout: stderr: dash: 0: Illegal option -- |
ash | 1 fatal errors continue [ash stdout] Expected 'one\n', got '' [ash status] Expected 42, got 0 stdout: stderr: |
zsh | 1 fatal errors continue [zsh stdout] Expected 'one\n', got '' [zsh status] Expected 42, got 1 stdout: stderr: zsh: no such option: rcfile |
mksh | 1 fatal errors continue [mksh stdout] Expected 'one\n', got '' [mksh status] Expected 42, got 1 stdout: stderr: mksh: mksh: --: unknown option |
ksh | 1 fatal errors continue [ksh stdout] Expected 'one\n', got '' [ksh status] Expected 42, got 1 stdout: stderr: E: ksh: --: unknown option |
toysh | 1 fatal errors continue [toysh stdout] Expected 'one\n', got '' [toysh status] Expected 42, got 1 stdout: stderr: sh: Unknown option 'rcfile' (see "sh --help") |
sush | 1 fatal errors continue [sush stdout] Expected 'one\n', got '' [sush status] Expected 42, got 2 stdout: stderr: : line : set: --: invalid option |
brush | 1 fatal errors continue [brush stdout] Expected 'one\n', got '' [brush status] Expected 42, got 1 stdout: stderr: [31mERROR[0m error: arithmetic evaluation error: division by zero |
dash | 2 interactive shell loads rcfile (when combined with -c) [dash stdout] Expected '1\nRCFILE\n2\n', got '1\n' [dash status] Expected 0, got 2 stdout: 1stderr: dash: 0: Illegal option -- |
ash | 2 interactive shell loads rcfile (when combined with -c) [ash stdout] Expected '1\nRCFILE\n2\n', got '1\nRCFILE\n' stdout: 1 RCFILEstderr: |
zsh | 2 interactive shell loads rcfile (when combined with -c) [zsh stdout] Expected '1\nRCFILE\n2\n', got '1\n' [zsh status] Expected 0, got 1 stdout: 1stderr: zsh: no such option: rcfile |
mksh | 2 interactive shell loads rcfile (when combined with -c) [mksh stdout] Expected '1\nRCFILE\n2\n', got '1\n' [mksh status] Expected 0, got 1 stdout: 1stderr: mksh: mksh: --: unknown option |
ksh | 2 interactive shell loads rcfile (when combined with -c) [ksh stdout] Expected '1\nRCFILE\n2\n', got '1\n' [ksh status] Expected 0, got 1 stdout: 1stderr: E: ksh: --: unknown option |
toysh | 2 interactive shell loads rcfile (when combined with -c) [toysh stdout] Expected '1\nRCFILE\n2\n', got '1\n' [toysh status] Expected 0, got 1 stdout: 1stderr: sh: Unknown option 'rcfile' (see "sh --help") |
sush | 2 interactive shell loads rcfile (when combined with -c) [sush stdout] Expected '1\nRCFILE\n2\n', got '1\n' [sush status] Expected 0, got 2 stdout: 1stderr: : line : set: --: invalid option |
dash | 3 --rcfile with parse error - shell is executed anyway [dash stdout] Expected 'flag -c\nstatus=0\n', got 'status=2\n' stdout: status=2stderr: dash: 0: Illegal option -- |
ash | 3 --rcfile with parse error - shell is executed anyway [ash stdout] Expected 'flag -c\nstatus=0\n', got 'status=2\n' stdout: status=2stderr: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/interactive.test.sh/03-ash/rcfile: line 2: syntax error: unexpected end of file (expecting ")") |
zsh | 3 --rcfile with parse error - shell is executed anyway [zsh stdout] Expected 'flag -c\nstatus=0\n', got 'status=1\n' stdout: status=1stderr: zsh: no such option: rcfile |
mksh | 3 --rcfile with parse error - shell is executed anyway [mksh stdout] Expected 'flag -c\nstatus=0\n', got 'status=1\n' stdout: status=1stderr: mksh: mksh: --: unknown option |
ksh | 3 --rcfile with parse error - shell is executed anyway [ksh stdout] Expected 'flag -c\nstatus=0\n', got 'status=1\n' stdout: status=1stderr: E: ksh: --: unknown option |
toysh | 3 --rcfile with parse error - shell is executed anyway [toysh stdout] Expected 'flag -c\nstatus=0\n', got 'status=1\n' stdout: status=1stderr: sh: Unknown option 'rcfile' (see "sh --help") |
sush | 3 --rcfile with parse error - shell is executed anyway [sush stdout] Expected 'flag -c\nstatus=0\n', got 'status=2\n' stdout: status=2stderr: : line : set: --: invalid option |
bash | 4 interactive shell loads files in rcdir (when combined with -c) stdout: Astderr: bash: --rcdir: invalid option Usage: bash [GNU long option] [option] ... bash [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --pretty-print --rcfile --restricted --verbose --version Shell options: -ilrsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCEHPT or -o option bash: --rcdir: invalid option Usage: bash [GNU long option] [option] ... bash [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --pretty-print --rcfile --restricted --verbose --version Shell options: -ilrsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCEHPT or -o option |
dash | 4 interactive shell loads files in rcdir (when combined with -c) [dash stdout] Expected 'A\nrcdir 1\nrcdir 2\nB\nrcfile first\nrcdir 1\nrcdir 2\nC\n' Got 'A\n' [dash status] Expected 0, got 2 stdout: Astderr: dash: 0: Illegal option -- dash: 0: Illegal option -- |
ash | 4 interactive shell loads files in rcdir (when combined with -c) [ash stdout] Expected 'A\nrcdir 1\nrcdir 2\nB\nrcfile first\nrcdir 1\nrcdir 2\nC\n' Got 'A\nrcfile first\n' stdout: A rcfile firststderr: |
zsh | 4 interactive shell loads files in rcdir (when combined with -c) [zsh stdout] Expected 'A\nrcdir 1\nrcdir 2\nB\nrcfile first\nrcdir 1\nrcdir 2\nC\n' Got 'A\n' [zsh status] Expected 0, got 1 stdout: Astderr: zsh: no such option: rcdir zsh: no such option: rcfile |
mksh | 4 interactive shell loads files in rcdir (when combined with -c) [mksh stdout] Expected 'A\nrcdir 1\nrcdir 2\nB\nrcfile first\nrcdir 1\nrcdir 2\nC\n' Got 'A\n' [mksh status] Expected 0, got 1 stdout: Astderr: mksh: mksh: --: unknown option mksh: mksh: --: unknown option |
ksh | 4 interactive shell loads files in rcdir (when combined with -c) [ksh stdout] Expected 'A\nrcdir 1\nrcdir 2\nB\nrcfile first\nrcdir 1\nrcdir 2\nC\n' Got 'A\n' [ksh status] Expected 0, got 1 stdout: Astderr: E: ksh: --: unknown option E: ksh: --: unknown option |
toysh | 4 interactive shell loads files in rcdir (when combined with -c) [toysh stdout] Expected 'A\nrcdir 1\nrcdir 2\nB\nrcfile first\nrcdir 1\nrcdir 2\nC\n' Got 'A\n' [toysh status] Expected 0, got 1 stdout: Astderr: sh: Unknown option 'rcdir' (see "sh --help") sh: Unknown option 'rcfile' (see "sh --help") |
sush | 4 interactive shell loads files in rcdir (when combined with -c) [sush stdout] Expected 'A\nrcdir 1\nrcdir 2\nB\nrcfile first\nrcdir 1\nrcdir 2\nC\n' Got 'A\n' [sush status] Expected 0, got 2 stdout: Astderr: : line : set: --: invalid option : line : set: --: invalid option |
brush | 4 interactive shell loads files in rcdir (when combined with -c) [brush stdout] Expected 'A\nrcdir 1\nrcdir 2\nB\nrcfile first\nrcdir 1\nrcdir 2\nC\n' Got 'A\n' stdout: Astderr: [31mERROR[0m error: failed to source file: --rcdir; i/o error: No such file or directory (os error 2) [31mERROR[0m error: failed to source file: --rcdir; i/o error: No such file or directory (os error 2) |
bash | 5 nonexistent --rcdir is ignored stdout: stderr: |
dash | 5 nonexistent --rcdir is ignored [dash stdout] Expected 'hi\nstatus=0\n', got 'status=2\n' stdout: status=2stderr: dash: 0: Illegal option -- |
ash | 5 nonexistent --rcdir is ignored [ash stdout] Expected 'hi\nstatus=0\n', got 'status=2\n' stdout: status=2stderr: ash: can't open '/home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/interactive.test.sh/05-ash/__does-not-exist': No such file or directory |
zsh | 5 nonexistent --rcdir is ignored [zsh stdout] Expected 'hi\nstatus=0\n', got 'status=1\n' stdout: status=1stderr: zsh: no such option: rcdir |
mksh | 5 nonexistent --rcdir is ignored [mksh stdout] Expected 'hi\nstatus=0\n', got 'status=1\n' stdout: status=1stderr: mksh: mksh: --: unknown option |
ksh | 5 nonexistent --rcdir is ignored [ksh stdout] Expected 'hi\nstatus=0\n', got 'status=1\n' stdout: status=1stderr: E: ksh: --: unknown option |
toysh | 5 nonexistent --rcdir is ignored [toysh stdout] Expected 'hi\nstatus=0\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 5 nonexistent --rcdir is ignored [sush stdout] Expected 'hi\nstatus=0\n', got 'status=2\n' stdout: status=2stderr: : line : set: --: invalid option |
brush | 5 nonexistent --rcdir is ignored [brush stdout] Expected 'hi\nstatus=0\n', got 'status=1\n' stdout: status=1stderr: [31mERROR[0m error: failed to source file: --rcdir; i/o error: No such file or directory (os error 2) |
bash | 6 shell doesn't load rcfile/rcdir if --norc is given stdout: A Cstderr: |
dash | 6 shell doesn't load rcfile/rcdir if --norc is given [dash stdout] Expected 'A\nC\nD\n', got 'A\n' [dash status] Expected 0, got 2 stdout: Astderr: dash: 0: Illegal option -- dash: 0: Illegal option -- |
ash | 6 shell doesn't load rcfile/rcdir if --norc is given [ash stdout] Expected 'A\nC\nD\n', got 'A\nrcfile\nrcfile\n' stdout: A rcfile rcfilestderr: |
zsh | 6 shell doesn't load rcfile/rcdir if --norc is given [zsh stdout] Expected 'A\nC\nD\n', got 'A\n' [zsh status] Expected 0, got 1 stdout: Astderr: zsh: no such option: norc zsh: no such option: norc |
mksh | 6 shell doesn't load rcfile/rcdir if --norc is given [mksh stdout] Expected 'A\nC\nD\n', got 'A\n' [mksh status] Expected 0, got 1 stdout: Astderr: mksh: mksh: --: unknown option mksh: mksh: --: unknown option |
ksh | 6 shell doesn't load rcfile/rcdir if --norc is given [ksh stdout] Expected 'A\nC\nD\n', got 'A\n' [ksh status] Expected 0, got 1 stdout: Astderr: E: ksh: --: unknown option E: ksh: --: unknown option |
toysh | 6 shell doesn't load rcfile/rcdir if --norc is given [toysh stdout] Expected 'A\nC\nD\n', got 'A\n' [toysh status] Expected 0, got -6 stdout: Astderr: sh: Unknown option 'rcfile' (see "sh --help") munmap_chunk(): invalid pointer |
sush | 6 shell doesn't load rcfile/rcdir if --norc is given [sush stdout] Expected 'A\nC\nD\n', got 'A\n' [sush status] Expected 0, got 2 stdout: Astderr: : line : -r: invalid option name : line : -r: invalid option name |
brush | 6 shell doesn't load rcfile/rcdir if --norc is given [brush stdout] Expected 'A\nC\nD\n', got 'A\nC\n' stdout: A Cstderr: [31mERROR[0m error: failed to source file: --rcdir; i/o error: No such file or directory (os error 2) |
dash | 7 interactive shell runs PROMPT_COMMAND after each command [dash stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' stdout: stderr: |
ash | 7 interactive shell runs PROMPT_COMMAND after each command [ash stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' stdout: stderr: |
zsh | 7 interactive shell runs PROMPT_COMMAND after each command [zsh stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' stdout: stderr: |
mksh | 7 interactive shell runs PROMPT_COMMAND after each command [mksh stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' stdout: stderr: |
ksh | 7 interactive shell runs PROMPT_COMMAND after each command [ksh stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' stdout: stderr: |
toysh | 7 interactive shell runs PROMPT_COMMAND after each command [toysh stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 7 interactive shell runs PROMPT_COMMAND after each command [sush stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' stdout: stderr: |
brush | 7 interactive shell runs PROMPT_COMMAND after each command [brush stdout] Expected 'PROMPT\none\nPROMPT\ntwo\nPROMPT\n^D\n', got '' stdout: stderr: |
dash | 8 parse error in PROMPT_COMMAND [dash stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
ash | 8 parse error in PROMPT_COMMAND [ash stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
zsh | 8 parse error in PROMPT_COMMAND [zsh stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
mksh | 8 parse error in PROMPT_COMMAND [mksh stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
ksh | 8 parse error in PROMPT_COMMAND [ksh stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
toysh | 8 parse error in PROMPT_COMMAND [toysh stdout] Expected 'one\ntwo\n^D\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 8 parse error in PROMPT_COMMAND [sush stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
brush | 8 parse error in PROMPT_COMMAND [brush stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
dash | 9 runtime error in PROMPT_COMMAND [dash stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
ash | 9 runtime error in PROMPT_COMMAND [ash stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
zsh | 9 runtime error in PROMPT_COMMAND [zsh stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
mksh | 9 runtime error in PROMPT_COMMAND [mksh stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
ksh | 9 runtime error in PROMPT_COMMAND [ksh stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
toysh | 9 runtime error in PROMPT_COMMAND [toysh stdout] Expected 'one\ntwo\n^D\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 9 runtime error in PROMPT_COMMAND [sush stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
brush | 9 runtime error in PROMPT_COMMAND [brush stdout] Expected 'one\ntwo\n^D\n', got '' stdout: stderr: |
dash | 10 Error message with bad oshrc file (currently ignored) [dash stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got 'status=2\n' [dash status] Expected 0, got 1 stdout: status=2stderr: |
ash | 10 Error message with bad oshrc file (currently ignored) [ash stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got 'status=2\nbad_oshrc:\n' stdout: status=2 bad_oshrc:stderr: |
zsh | 10 Error message with bad oshrc file (currently ignored) [zsh stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got 'status=1\n' [zsh status] Expected 0, got 1 stdout: status=1stderr: |
mksh | 10 Error message with bad oshrc file (currently ignored) [mksh stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got 'status=1\n' [mksh status] Expected 0, got 1 stdout: status=1stderr: |
ksh | 10 Error message with bad oshrc file (currently ignored) [ksh stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got 'status=1\n' [ksh status] Expected 0, got 1 stdout: status=1stderr: |
toysh | 10 Error message with bad oshrc file (currently ignored) [toysh stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got 'status=1\n' [toysh status] Expected 0, got 1 stdout: status=1stderr: |
sush | 10 Error message with bad oshrc file (currently ignored) [sush stdout] Expected 'hi\nstatus=0\nbad_oshrc:\n', got 'status=2\n' [sush status] Expected 0, got 1 stdout: status=2stderr: |
dash | 11 PROMPT_COMMAND can see $?, like bash [dash stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n' Got '' stdout: stderr: |
ash | 11 PROMPT_COMMAND can see $?, like bash [ash stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n' Got '' stdout: stderr: |
zsh | 11 PROMPT_COMMAND can see $?, like bash [zsh stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n' Got '' stdout: stderr: |
mksh | 11 PROMPT_COMMAND can see $?, like bash [mksh stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n' Got '' stdout: stderr: |
ksh | 11 PROMPT_COMMAND can see $?, like bash [ksh stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n' Got '' stdout: stderr: |
toysh | 11 PROMPT_COMMAND can see $?, like bash [toysh stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n' Got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 11 PROMPT_COMMAND can see $?, like bash [sush stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n' Got '' stdout: stderr: |
brush | 11 PROMPT_COMMAND can see $?, like bash [brush stdout] Expected 'last_status=0\nlast_status=42\nlast_status=43\nok\nlast_status=0\n^D\n' Got '' stdout: stderr: |
dash | 12 PROMPT_COMMAND that writes to BASH_REMATCH [dash stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' stdout: stderr: |
ash | 12 PROMPT_COMMAND that writes to BASH_REMATCH [ash stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' stdout: stderr: |
zsh | 12 PROMPT_COMMAND that writes to BASH_REMATCH [zsh stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' stdout: stderr: |
mksh | 12 PROMPT_COMMAND that writes to BASH_REMATCH [mksh stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' stdout: stderr: |
ksh | 12 PROMPT_COMMAND that writes to BASH_REMATCH [ksh stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' stdout: stderr: |
toysh | 12 PROMPT_COMMAND that writes to BASH_REMATCH [toysh stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 12 PROMPT_COMMAND that writes to BASH_REMATCH [sush stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' stdout: stderr: |
brush | 12 PROMPT_COMMAND that writes to BASH_REMATCH [brush stdout] Expected '---\none\n---\n---\nbar b a r\n---\n^D\n', got '' stdout: stderr: |
dash | 13 NO ASSERTIONS: Are startup files sourced before or after job control? [dash status] Expected 0, got 2 stdout: stderr: dash: 0: Illegal option -- |
ash | 13 NO ASSERTIONS: Are startup files sourced before or after job control? [ash status] Expected 0, got 2 stdout: stderr: myrc: line 4: syntax error: bad function name |
zsh | 13 NO ASSERTIONS: Are startup files sourced before or after job control? [zsh status] Expected 0, got 1 stdout: stderr: zsh: no such option: rcfile |
mksh | 13 NO ASSERTIONS: Are startup files sourced before or after job control? [mksh status] Expected 0, got 1 stdout: stderr: mksh: mksh: --: unknown option |
ksh | 13 NO ASSERTIONS: Are startup files sourced before or after job control? [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: --: unknown option |
toysh | 13 NO ASSERTIONS: Are startup files sourced before or after job control? [toysh status] Expected 0, got 1 stdout: stderr: sh: Unknown option 'rcfile' (see "sh --help") |
sush | 13 NO ASSERTIONS: Are startup files sourced before or after job control? [sush status] Expected 0, got 2 stdout: stderr: : line : set: --: invalid option |
dash | 14 HISTFILE is written in interactive shell [dash stdout] Expected 'hist1\nhist2\n^D\necho hist1; echo hist2\n', got '' [dash status] Expected 0, got 1 stdout: stderr: dash: 0: Illegal option -- cat: myhist: No such file or directory |
zsh | 14 HISTFILE is written in interactive shell [zsh stdout] Expected 'hist1\nhist2\n^D\necho hist1; echo hist2\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: no such option: norc cat: myhist: No such file or directory |
mksh | 14 HISTFILE is written in interactive shell [mksh stdout] Expected 'hist1\nhist2\n^D\necho hist1; echo hist2\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: mksh: --: unknown option mksh: <stdin>[9]: cat: myhist: No such file or directory |
ksh | 14 HISTFILE is written in interactive shell [ksh stdout] Expected 'hist1\nhist2\n^D\necho hist1; echo hist2\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: --: unknown option cat: myhist: No such file or directory |
toysh | 14 HISTFILE is written in interactive shell [toysh stdout] Expected 'hist1\nhist2\n^D\necho hist1; echo hist2\n', got 'hist1\nhist2\n' [toysh status] Expected 0, got 1 stdout: hist1 hist2stderr: $ $ cat: myhist: No such file or directory |
sush | 14 HISTFILE is written in interactive shell [sush stdout] Expected 'hist1\nhist2\n^D\necho hist1; echo hist2\n', got '^D\n' [sush status] Expected 0, got 1 stdout: ^Dstderr: : line : -r: invalid option name cat: myhist: No such file or directory |
brush | 14 HISTFILE is written in interactive shell [brush stdout] Expected 'hist1\nhist2\n^D\necho hist1; echo hist2\n', got 'hist1\nhist2\n^D\n' stdout: hist1 hist2 ^Dstderr: exit cat: myhist: No such file or directory |
dash | 15 HISTFILE default value [dash stdout] Expected 'status=0\n', got 'status=1\n' stdout: status=1stderr: dash: 0: Illegal option -- |
zsh | 15 HISTFILE default value [zsh stdout] Expected 'status=0\n', got 'status=1\n' stdout: status=1stderr: zsh: no such option: norc |
mksh | 15 HISTFILE default value [mksh stdout] Expected 'status=0\n', got 'status=1\n' stdout: status=1stderr: mksh: mksh: --: unknown option |
ksh | 15 HISTFILE default value [ksh stdout] Expected 'status=0\n', got 'status=1\n' stdout: status=1stderr: E: ksh: --: unknown option |
toysh | 15 HISTFILE default value [toysh stdout] Expected 'status=0\n', got 'status=1\n' stdout: status=1stderr: |
sush | 15 HISTFILE default value [sush stdout] Expected 'status=0\n', got 'status=1\n' stdout: status=1stderr: : line : -r: invalid option name |
dash | 16 HISTFILE=my-history loads history from that file, and writes back to it [dash stdout] Expected '2\n 1 echo 1\n 2 echo 2\n 3 history\n\n-- after shell exit --\necho 1\necho 2\nhistory\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: dash: 0: Illegal option -- |
ash | 16 HISTFILE=my-history loads history from that file, and writes back to it [ash stdout] Expected '2\n 1 echo 1\n 2 echo 2\n 3 history\n\n-- after shell exit --\necho 1\necho 2\nhistory\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: |
zsh | 16 HISTFILE=my-history loads history from that file, and writes back to it [zsh stdout] Expected '2\n 1 echo 1\n 2 echo 2\n 3 history\n\n-- after shell exit --\necho 1\necho 2\nhistory\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: zsh: no such option: rcfile |
mksh | 16 HISTFILE=my-history loads history from that file, and writes back to it [mksh stdout] Expected '2\n 1 echo 1\n 2 echo 2\n 3 history\n\n-- after shell exit --\necho 1\necho 2\nhistory\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: mksh: mksh: --: unknown option |
ksh | 16 HISTFILE=my-history loads history from that file, and writes back to it [ksh stdout] Expected '2\n 1 echo 1\n 2 echo 2\n 3 history\n\n-- after shell exit --\necho 1\necho 2\nhistory\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: E: ksh: --: unknown option |
toysh | 16 HISTFILE=my-history loads history from that file, and writes back to it [toysh stdout] Expected '2\n 1 echo 1\n 2 echo 2\n 3 history\n\n-- after shell exit --\necho 1\necho 2\nhistory\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: sh: Unknown option 'rcfile' (see "sh --help") |
sush | 16 HISTFILE=my-history loads history from that file, and writes back to it [sush stdout] Expected '2\n 1 echo 1\n 2 echo 2\n 3 history\n\n-- after shell exit --\necho 1\necho 2\nhistory\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: : line : set: --: invalid option |
brush | 16 HISTFILE=my-history loads history from that file, and writes back to it [brush stdout] Expected '2\n 1 echo 1\n 2 echo 2\n 3 history\n\n-- after shell exit --\necho 1\necho 2\nhistory\n' Got '2\n\n-- after shell exit --\necho 1\n' stdout: 2 -- after shell exit -- echo 1stderr: [33m WARN[0m unimplemented built-in: history exit |
dash | 17 HISTFILE=my-history with history -a [dash stdout] Expected '2\n\n-- after shell exit --\necho 1\nhistory -a\necho 2\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: dash: 0: Illegal option -- |
ash | 17 HISTFILE=my-history with history -a [ash stdout] Expected '2\n\n-- after shell exit --\necho 1\nhistory -a\necho 2\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: |
zsh | 17 HISTFILE=my-history with history -a [zsh stdout] Expected '2\n\n-- after shell exit --\necho 1\nhistory -a\necho 2\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: zsh: no such option: rcfile |
mksh | 17 HISTFILE=my-history with history -a [mksh stdout] Expected '2\n\n-- after shell exit --\necho 1\nhistory -a\necho 2\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: mksh: mksh: --: unknown option |
ksh | 17 HISTFILE=my-history with history -a [ksh stdout] Expected '2\n\n-- after shell exit --\necho 1\nhistory -a\necho 2\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: E: ksh: --: unknown option |
toysh | 17 HISTFILE=my-history with history -a [toysh stdout] Expected '2\n\n-- after shell exit --\necho 1\nhistory -a\necho 2\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: sh: Unknown option 'rcfile' (see "sh --help") |
sush | 17 HISTFILE=my-history with history -a [sush stdout] Expected '2\n\n-- after shell exit --\necho 1\nhistory -a\necho 2\n' Got '\n-- after shell exit --\necho 1\n' stdout: -- after shell exit -- echo 1stderr: : line : set: --: invalid option |
brush | 17 HISTFILE=my-history with history -a [brush stdout] Expected '2\n\n-- after shell exit --\necho 1\nhistory -a\necho 2\n' Got '2\n\n-- after shell exit --\necho 1\n' stdout: 2 -- after shell exit -- echo 1stderr: [33m WARN[0m unimplemented built-in: history -a exit |