bugs () { run-file bugs "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" }
spec test index / oilshell.org
91 passed, 25 OK, 16 not implemented, 12 BUG, 0 failed, 0 timeouts, 0 cases skipped
| 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 | 
| bash | 4 assign readonly -- multiple lines stdout: histderr: bash: line 2: x: readonly variable | 
| dash | 4 assign readonly -- multiple lines stdout: stderr: dash: 2: x: is read only | 
| 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 | 
| mksh | 9 Function names stdout: stderr: mksh: <stdin>[1]: foo$x: invalid function name | 
| zsh | 9 Function names stdout: stderr: | 
| bash | 10 file with NUL byte stdout: stderr: tmp.sh: tmp.sh: cannot execute binary file | 
| dash | 10 file with NUL byte stdout: stderr: tmp.sh: 1: tmp.sh: -e: not found | 
| zsh | 10 file with NUL byte stdout: one echo twostderr: | 
| osh | 10 file with NUL byte stdout: onestderr: | 
| bash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: | 
| dash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: dash: 4: Bad substitution | 
| 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 | 
| mksh | 13 other builtins fail on writing to full disk stdout: status=0 status=0stderr: | 
| zsh | 13 other builtins fail on writing to full disk stdout: status=0 status=0stderr: | 
| dash | 15 for loop (issue #1446) stdout: stderr: | 
| mksh | 15 for loop (issue #1446) stdout: stderr: | 
| ash | 15 for loop (issue #1446) stdout: stderr: | 
| dash | 16 for loop 2 (issue #1446) stdout: stderr: | 
| mksh | 16 for loop 2 (issue #1446) stdout: stderr: | 
| ash | 16 for loop 2 (issue #1446) stdout: stderr: | 
| bash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: | 
| dash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: stderr: dash: 4: Illegal number: a[$(echo 42 | tee PWNED)]=1 | 
| mksh | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: | 
| zsh | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: | 
| ash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: stderr: ash: arithmetic syntax error | 
| bash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: NOPEstderr: bash: line 4: <(echo 42 | tee PWNED): syntax error: operand expected (error token is "<(echo 42 | tee PWNED)") | 
| dash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: stderr: dash: 4: Illegal number: a[<(echo 42 | tee PWNED)]=1 | 
| ash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: stderr: ash: arithmetic syntax error | 
| bash | 21 unset doesn't allow command execution stdout: len=1 len=0 PWNED 0stderr: | 
| dash | 21 unset doesn't allow command execution stdout: stderr: dash: 1: typeset: not found
dash: 2: Syntax error: "(" unexpected
 | 
| mksh | 21 unset doesn't allow command execution stdout: len=1 len=0 PWNED 0stderr: | 
| zsh | 21 unset doesn't allow command execution stdout: len=1 len=1 PWNED 0stderr: zsh: a: assignment to invalid subscript range | 
| ash | 21 unset doesn't allow command execution stdout: stderr: ash: typeset: not found
ash: syntax error: unexpected "("
 | 
| dash | 23 (( status bug stdout: stderr: | 
| ash | 23 (( status bug stdout: stderr: |