spec test index / oilshell.org
196 passed, 17 OK, 2 not implemented, 10 BUG, 0 failed, 0 timeouts, 0 cases skipped
mksh | 4 alias not defined stdout: nonexistentZ alias not found status=1stderr: |
dash | 6 listing given aliases stdout: e='echo' ll='ls -l'stderr: |
mksh | 6 listing given aliases stdout: e=echo ll='ls -l'stderr: |
zsh | 6 listing given aliases stdout: e=echo ll='ls -l'stderr: |
dash | 7 alias without args lists all aliases stdout: ex='exit' ll='ls -l' status=0stderr: |
mksh | 7 alias without args lists all aliases stdout: ex=exit ll='ls -l' status=0stderr: |
zsh | 7 alias without args lists all aliases stdout: ex=exit ll='ls -l' status=0stderr: |
dash | 8 unalias without args is a usage error stdout: status=0stderr: |
mksh | 8 unalias without args is a usage error stdout: status=0stderr: |
zsh | 8 unalias without args is a usage error stdout: status=1stderr: unalias: not enough arguments |
dash | 14 first and second word are the same alias, but no trailing space stdout: x echo xstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: shopt: not found |
mksh | 19 Syntax error after expansion stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[3]: syntax error: ';;' unexpected |
zsh | 19 Syntax error after expansion stdout: stderr: zsh: command not found: shopt zsh: parse error near `;;' |
osh | 21 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_t KW_Done 200>, got <Id_t Eof_Real 4> |
zsh | 22 Loop split across both iterative and recursive aliases stdout: stderr: zsh: command not found: shopt |
osh | 22 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 | 23 Alias with a quote in the middle is a syntax error stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[5]: no closing quote |
zsh | 23 Alias with a quote in the middle is a syntax error stdout: stderr: zsh: command not found: shopt zsh: unmatched ' |
zsh | 25 Alias trailing newline stdout: 1 2 3stderr: zsh: command not found: shopt zsh: command not found: echo foo |
zsh | 29 Alias is respected inside eval stdout: hello outsidestderr: zsh: command not found: shopt zsh: command not found: sayhi |
bash | 30 alias with redirects works stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 2: e_: command not found /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: e_: command not found /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 4: e_: command not found |
bash | 31 alias with environment bindings works stdout: 1stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: p_: command not found |
osh | 33 alias for left brace stdout: stderr: { echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type <Id_t Lit_RBrace 21>, got <Id_t Eof_Real 4> |
osh | 34 alias for left paren stdout: stderr: ( echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type <Id_t Right_Subshell 92>, got <Id_t Eof_Real 4> |
bash | 37 here doc inside alias stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 6: warning: here-document at line 6 delimited by end-of-file (wanted `EOF') /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 6: hi: command not found /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 6: EOF: command not found |
dash | 38 Corner case: alias inside LHS array arithmetic expression stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: a[0]=ZERO: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 4: a[1]=ONE: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 5: Bad substitution |
zsh | 38 Corner case: alias inside LHS array arithmetic expression stdout: stderr: zsh: command not found: shopt zsh: not an identifier: a[$(zeroech |
dash | 43 Alias and PS4 stdout: stderr: |
osh | 44 alias with keywords stdout: stderr: ^ [ expansion of alias 'a' ]:1: Unexpected EOF while parsing command |