spec test index / oilshell.org
62 passed, 4 ok, 6 known unimplemented, 2 known bugs, 3 failed, 0 skipped
mksh | 2 Env value using preceding Env binding stdout: foo []stderr: |
dash | 6 Env binding not allowed before compound command stdout: stderr: /bin/dash: 1: for: not found |
mksh | 6 Env binding not allowed before compound command stdout: stderr: /bin/mksh: <stdin>[1]: syntax error: 'do' unexpected |
osh | 6 Env binding not allowed before compound command [osh status] Expected 2, got 127 stdout: stderr: Unexpected error in execvpe('for', ['for', 'i', 'in', 'a', 'b'], ...): [Errno 2] No such file or directory |
osh_ALT | 6 Env binding not allowed before compound command [osh_ALT status] Expected 2, got 127 stdout: stderr: Unexpected error in execvpe('for', ['for', 'i', 'in', 'a', 'b'], ...): [Errno 2] No such file or directory |
dash | 11 Env binding in readonly/declare disallowed stdout: v=Nonestderr: |
bash | 11 Env binding in readonly/declare disallowed stdout: v=Nonestderr: |
mksh | 11 Env binding in readonly/declare disallowed stdout: v=Nonestderr: |
dash | 12 local -a stdout: stderr: /bin/dash: 2: Syntax error: "(" unexpected (expecting "}") |
mksh | 12 local -a stdout: stderr: /bin/mksh: <stdin>[2]: syntax error: '(' unexpected |
dash | 13 declare -a stdout: stderr: /bin/dash: 1: Syntax error: "(" unexpected |
mksh | 13 declare -a stdout: stderr: /bin/mksh: <stdin>[1]: syntax error: '(' unexpected |
dash | 14 typeset -a a[1]=a a[3]=c stdout: stderr: /bin/dash: 1: typeset: not found /bin/dash: 2: Bad substitution |
osh | 14 typeset -a a[1]=a a[3]=c [osh stdout] Expected "['x', 'z']\n", got '' [osh status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' typeset -a a[1*1]=x a[1+2]=z ^ Invalid variable name 'a[1*1]=x' --- Line 0 of '<unknown>' <no position info for token> Error parsing AndOr in ParseCommandTerm --- |
osh_ALT | 14 typeset -a a[1]=a a[3]=c [osh_ALT stdout] Expected "['x', 'z']\n", got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' typeset -a a[1*1]=x a[1+2]=z ^ Invalid variable name 'a[1*1]=x' --- Line 0 of '<unknown>' <no position info for token> Error parsing AndOr in ParseCommandTerm --- |
dash | 15 indexed LHS without spaces is allowed stdout: stderr: /bin/dash: 1: a[1: not found /bin/dash: 2: Bad substitution |
osh | 15 indexed LHS without spaces is allowed [osh stdout] Expected "['x', 'z']\n", got '[]\n' stdout: []stderr: Unexpected error in execvpe('a[1', ['a[1', 'INSTALL.txt', 'LICENSE.txt', 'Makefile', 'NOTES.txt', 'Python-2.7.13', 'README.md', 'TODO.txt', 'Vagrantfile', '__init__.py', '_bin', '_build', '_chroot', '_devbuild', '_release', '_tmp', 'asdl', 'benchmarks', 'bin', 'build', 'configure', 'core', 'doc', 'gold', 'install', 'libc.so', 'local.sh', 'native', 'oil', 'oil-version.txt', 'opy', 'osh', 'out.txt', 'scripts', 'setup.sh', 'spec', 'test', 'tools', 'web', '1]=x', 'a[', '1', '+', '2', ']=z'], ...): [Errno 2] No such file or directory |
osh_ALT | 15 indexed LHS without spaces is allowed [osh_ALT stdout] Expected "['x', 'z']\n", got '[]\n' stdout: []stderr: Unexpected error in execvpe('a[1', ['a[1', 'INSTALL.txt', 'LICENSE.txt', 'Makefile', 'NOTES.txt', 'Python-2.7.13', 'README.md', 'TODO.txt', 'Vagrantfile', '__init__.py', '_bin', '_build', '_chroot', '_devbuild', '_release', '_tmp', 'asdl', 'benchmarks', 'bin', 'build', 'configure', 'core', 'doc', 'gold', 'install', 'libc.so', 'local.sh', 'native', 'oil', 'oil-version.txt', 'opy', 'osh', 'out.txt', 'scripts', 'setup.sh', 'spec', 'test', 'tools', 'web', '1]=x', 'a[', '1', '+', '2', ']=z'], ...): [Errno 2] No such file or directory |