spec test index / oilshell.org
51 passed, 23 OK, 6 not implemented, 3 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
dash | 2 Turn an array into an integer. stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 2 Turn an array into an integer. stdout: stderr: ash: syntax error: unexpected "(" |
dash | 3 assign readonly -- one line stdout: stderr: dash: 1: x: is read only |
mksh | 3 assign readonly -- one line stdout: stderr: mksh: <stdin>[1]: read-only: x |
ash | 3 assign readonly -- one line stdout: stderr: ash: x: is read only |
dash | 4 assign readonly -- multiple lines stdout: stderr: dash: 2: x: is read only |
bash | 4 assign readonly -- multiple lines stdout: histderr: bash: line 2: x: readonly variable |
mksh | 4 assign readonly -- multiple lines stdout: stderr: mksh: <stdin>[2]: read-only: x |
ash | 4 assign readonly -- multiple lines stdout: stderr: ash: x: is read only |
dash | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: dash: 1: set: Illegal option -o posix |
mksh | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: mksh: <stdin>[3]: read-only: x |
ash | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: ash: set: line 1: illegal option -o posix ash: x: is read only |
dash | 6 unset readonly -- one line stdout: stderr: dash: 1: unset: x: is read only |
zsh | 6 unset readonly -- one line stdout: stderr: zsh: read-only variable: x |
ash | 6 unset readonly -- one line stdout: stderr: ash: unset: line 1: x: is read only |
dash | 7 unset readonly -- multiple lines stdout: stderr: dash: 2: unset: x: is read only |
zsh | 7 unset readonly -- multiple lines stdout: stderr: zsh: read-only variable: x |
ash | 7 unset readonly -- multiple lines stdout: stderr: ash: unset: line 2: x: is read only |
mksh | 8 First word like foo$x() and foo$[1+2] (regression) stdout: stderr: mksh: <stdin>[1]: syntax error: '"z"' unexpected |
zsh | 8 First word like foo$x() and foo$[1+2] (regression) stdout: stderr: zsh: unknown file attribute: z |
osh | 8 First word like foo$x() and foo$[1+2] (regression) stdout: DONEstderr: foo$identity('z') ^~~ [ stdin ]:1: 'fooz' not found foo$[1+2] ^~~ [ stdin ]:3: 'foo3' not found |
mksh | 9 Function names stdout: stderr: mksh: <stdin>[1]: foo$x: invalid function name |
zsh | 9 Function names stdout: stderr: |
osh | 9 Function names stdout: stderr: foo$x() { ^~~ [ stdin ]:1: fatal: Expected function named 'x', got (value.Undef) |
dash | 10 file with NUL byte stdout: stderr: tmp.sh: 1: tmp.sh: -e: not found |
bash | 10 file with NUL byte stdout: stderr: tmp.sh: tmp.sh: cannot execute binary file |
zsh | 10 file with NUL byte stdout: one echo twostderr: |
osh | 10 file with NUL byte stdout: onestderr: |
dash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: dash: 4: Bad substitution |
bash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: |
zsh | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: zsh: bad substitution |
ash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: ash: syntax error: bad substitution |
osh | 12 'echo' and printf to disk full [osh stdout] Expected 'status=1\nstatus=1\n', got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: |