212 passed, 17 OK, 2 not implemented, 8 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
dash | 0 Usage of builtins stdout: status=1 xstderr: dash: 1: shopt: not found alias: -- not found dash: 6: foo: not found |
mksh | 5 alias not defined stdout: nonexistentZ alias not found status=1stderr: |
dash | 8 List aliases by providing names stdout: e='echo' ll='ls -l'stderr: |
mksh | 8 List aliases by providing names stdout: e=echo ll='ls -l'stderr: |
zsh | 8 List aliases by providing names stdout: e=echo ll='ls -l'stderr: |
dash | 9 alias without args lists all aliases stdout: ex='exit' ll='ls -l' status=0stderr: |
mksh | 9 alias without args lists all aliases stdout: ex=exit ll='ls -l' status=0stderr: |
zsh | 9 alias without args lists all aliases stdout: ex=exit ll='ls -l' status=0stderr: |
dash | 10 unalias without args is a usage error stdout: status=0stderr: |
mksh | 10 unalias without args is a usage error stdout: status=0stderr: |
zsh | 10 unalias without args is a usage error stdout: status=1stderr: unalias: not enough arguments |
mksh | 21 Syntax error after expansion stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: syntax error: ';;' unexpected |
zsh | 21 Syntax error after expansion stdout: stderr: zsh: command not found: shopt zsh: parse error near `;;' |
osh | 23 Loop split across alias in another way stdout: stderr: for i in 1 2 3; do echo $i ^ [ expansion of alias 'e_' ]:1: Expected word type Id.KW_Done, got Id.Eof_Real |
zsh | 24 Loop split across both iterative and recursive aliases stdout: stderr: zsh: command not found: shopt |
osh | 24 Loop split across both iterative and recursive aliases stdout: stderr: for i in $one "2" 3 ^ [ expansion of alias 'FOR1' ]:1: Invalid word in for loop |
mksh | 25 Alias with a quote in the middle is a syntax error stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[5]: no closing quote |
zsh | 25 Alias with a quote in the middle is a syntax error stdout: stderr: zsh: command not found: shopt zsh: unmatched ' |
zsh | 27 Alias trailing newline stdout: 1 2 3stderr: zsh: command not found: shopt zsh: command not found: echo foo |
zsh | 31 Alias is respected inside eval stdout: hello outsidestderr: zsh: command not found: shopt zsh: command not found: sayhi |
osh | 35 alias for left brace stdout: stderr: { echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type Id.Lit_RBrace, got Id.Eof_Real |
osh | 36 alias for left paren stdout: stderr: ( echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type Id.Right_Subshell, got Id.Eof_Real |
bash | 39 here doc inside alias stdout: stderr: bash: line 6: warning: here-document at line 6 delimited by end-of-file (wanted `EOF') bash: line 6: hi: command not found bash: line 6: EOF: command not found |
dash | 40 Corner case: alias inside LHS array arithmetic expression stdout: stderr: dash: 1: shopt: not found dash: 3: a[0]=ZERO: not found dash: 4: a[1]=ONE: not found dash: 5: Bad substitution |
zsh | 40 Corner case: alias inside LHS array arithmetic expression stdout: stderr: zsh: command not found: shopt zsh: not an identifier: a[$(zeroech |
osh | 40 Corner case: alias inside LHS array arithmetic expression [osh stdout] Expected "['ZERO', 'ONE']\n", got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 202, in <module> sys.exit(main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 141, in AppBundleMain return shell.Main('osh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 1253, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/uke/oil/core/main_loop.py", line 336, in Batch was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags) File "/home/uke/oil/core/main_loop.py", line 401, in Batch2 is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags) File "/home/uke/oil/osh/cmd_eval.py", line 2175, in ExecuteAndCatch status = self._Execute(node) File "/home/uke/oil/osh/cmd_eval.py", line 1974, in _Execute status = self._Dispatch(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1701, in _Dispatch status = self._DoSimple(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 904, in _DoSimple allow_assign=True) File "/home/uke/oil/osh/word_eval.py", line 2566, in EvalWordSequence2 self._EvalWordToParts(w, part_vals, EXTGLOB_FILES) File "/home/uke/oil/osh/word_eval.py", line 2048, in _EvalWordToParts self._EvalWordPart(p, word_part_vals, eval_flags) File "/home/uke/oil/osh/word_eval.py", line 1932, in _EvalWordPart self._EvalDoubleQuoted(part.parts, part_vals) File "/home/uke/oil/osh/word_eval.py", line 1453, in _EvalDoubleQuoted self._EvalWordPart(p, part_vals, QUOTED) File "/home/uke/oil/osh/word_eval.py", line 1956, in _EvalWordPart self._EvalBracedVarSub(part, part_vals, quoted) File "/home/uke/oil/osh/word_eval.py", line 1750, in _EvalBracedVarSub part_val = _ValueToPartValue(val, quoted or quoted2, part) File "/home/uke/oil/osh/word_eval.py", line 235, in _ValueToPartValue return part_value.Array(bash_impl.BashArray_GetValues(val), quoted) NameError: global name 'bash_impl' is not defined |
dash | 45 Alias and PS4 stdout: stderr: |
osh | 46 alias with keywords stdout: stderr: ^ [ expansion of alias 'a' ]:1: Unexpected EOF while parsing command |