spec test index / oilshell.org
220 passed, 12 ok, 0 known unimplemented, 9 known bugs, 6 failed, 0 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: _tmp/spec-bin/dash: 1: shopt: not found |
| mksh | 19 Syntax error after expansion stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: shopt: not found _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 [osh stdout] Expected '1\n2\n3\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'e_' at line -1 of TODO>"
for i in 1 2 3; do echo $i
^
Expected word type KW_Done, got Eof_Real
|
| osh_ALT | 21 Loop split across alias in another way [osh_ALT stdout] Expected '1\n2\n3\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'e_' at line -1 of TODO>"
for i in 1 2 3; do echo $i
^
Expected word type KW_Done, got Eof_Real
|
| osh-byterun | 21 Loop split across alias in another way [osh-byterun stdout] Expected '1\n2\n3\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'e_' at line -1 of TODO>"
for i in 1 2 3; do echo $i
^
Expected word type KW_Done, got Eof_Real
|
| 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 [osh stdout] Expected '1\n2\n3\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'FOR1' at line -1 of TODO>"
for i in $one "2" 3
^
Invalid word in for loop
|
| osh_ALT | 22 Loop split across both iterative and recursive aliases [osh_ALT stdout] Expected '1\n2\n3\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'FOR1' at line -1 of TODO>"
for i in $one "2" 3
^
Invalid word in for loop
|
| osh-byterun | 22 Loop split across both iterative and recursive aliases [osh-byterun stdout] Expected '1\n2\n3\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'FOR1' at line -1 of TODO>"
for i in $one "2" 3
^
Invalid word in for loop
|
| mksh | 23 Alias with a quote in the middle is a syntax error stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: shopt: not found _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 ' |
| osh | 24 Alias with internal newlines [osh stdout] Expected '1\n2\n3 echo foo\n', got '1\n' stdout: 1stderr: |
| osh_ALT | 24 Alias with internal newlines [osh_ALT stdout] Expected '1\n2\n3 echo foo\n', got '1\n' stdout: 1stderr: |
| osh-byterun | 24 Alias with internal newlines [osh-byterun stdout] Expected '1\n2\n3 echo foo\n', got '1\n' stdout: 1stderr: |
| zsh | 25 Alias trailing newline stdout: 1 2 3stderr: zsh: command not found: shopt zsh: command not found: echo foo |
| osh | 25 Alias trailing newline [osh stdout] Expected '1\n2\n3\nfoo\n', got '1\n' stdout: 1stderr: |
| osh_ALT | 25 Alias trailing newline [osh_ALT stdout] Expected '1\n2\n3\nfoo\n', got '1\n' stdout: 1stderr: |
| osh-byterun | 25 Alias trailing newline [osh-byterun stdout] Expected '1\n2\n3\nfoo\n', got '1\n' stdout: 1stderr: |
| bash | 28 Alias doesn't work on a single line! stdout: stderr: _tmp/spec-bin/bash: line 1: sayhi: command not found _tmp/spec-bin/bash: line 2: sayhi: command not found |
| 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: _tmp/spec-bin/bash: line 2: e_: command not found _tmp/spec-bin/bash: line 3: e_: command not found _tmp/spec-bin/bash: line 4: e_: command not found |
| bash | 31 alias with environment bindings works stdout: 1stderr: _tmp/spec-bin/bash: line 3: p_: command not found |
| osh | 33 alias for left brace [osh stdout] Expected 'one\ntwo\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'LEFT' at line -1 of TODO>"
{ echo one
^
Expected word type Lit_RBrace, got Eof_Real
|
| osh_ALT | 33 alias for left brace [osh_ALT stdout] Expected 'one\ntwo\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'LEFT' at line -1 of TODO>"
{ echo one
^
Expected word type Lit_RBrace, got Eof_Real
|
| osh-byterun | 33 alias for left brace [osh-byterun stdout] Expected 'one\ntwo\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'LEFT' at line -1 of TODO>"
{ echo one
^
Expected word type Lit_RBrace, got Eof_Real
|
| osh | 34 alias for left paren [osh stdout] Expected 'one\ntwo\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'LEFT' at line -1 of TODO>"
( echo one
^
Expected word type Right_Subshell, got Eof_Real
|
| osh_ALT | 34 alias for left paren [osh_ALT stdout] Expected 'one\ntwo\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'LEFT' at line -1 of TODO>"
( echo one
^
Expected word type Right_Subshell, got Eof_Real
|
| osh-byterun | 34 alias for left paren [osh-byterun stdout] Expected 'one\ntwo\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 2 of "<expansion of alias 'LEFT' at line -1 of TODO>"
( echo one
^
Expected word type Right_Subshell, got Eof_Real
|