spec test index / oilshell.org
64 passed, 22 OK, 1 not implemented, 6 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
bash | 1 Bad braced var sub -- not allowed stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: ${%}: bad substitution |
mksh | 1 Bad braced var sub -- not allowed stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: ${%}: bad substitution |
dash | 2 Bad var sub caught at parse time stdout: okstderr: |
bash | 2 Bad var sub caught at parse time stdout: okstderr: |
mksh | 2 Bad var sub caught at parse time stdout: okstderr: |
mksh | 3 Incomplete while stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'while' unmatched |
mksh | 4 Incomplete for stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'newline' unexpected |
mksh | 5 Incomplete if stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'if' unmatched |
mksh | 6 do unexpected stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'do' unexpected |
mksh | 7 } is a parse error stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '}' unexpected |
dash | 8 { is its own word, needs a space stdout: status=127stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: {ls: not found |
mksh | 8 { is its own word, needs a space stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '}' unexpected |
bash | 10 Invalid for loop variable name stdout: donestderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: `i.j': not a valid identifier |
mksh | 10 Invalid for loop variable name stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: for: bad identifier |
dash | 12 bad var name in export stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: export: FOO-BAR: bad variable name |
dash | 13 bad var name in local stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: FOO-BAR: bad variable name |
mksh | 14 misplaced parentheses are not a subshell stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected |
mksh | 15 incomplete command sub stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unmatched |
mksh | 16 incomplete backticks stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: no closing quote |
mksh | 17 misplaced ;; stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: ';;' unexpected |
dash | 18 empty clause in [[ stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: [[: not found |
mksh | 18 empty clause in [[ stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '||' expression expected |
bash | 19 interactive parse error (regression) stdout: stderr: bash: syntax error near unexpected token `)' |
mksh | 19 interactive parse error (regression) stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: syntax error: ')' unexpected |
bash | 20 array literal inside array is a parse error stdout: len=0stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: syntax error near unexpected token `(' /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: `a=( inside=() )' |
mksh | 20 array literal inside array is a parse error stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected |
osh | 20 array literal inside array is a parse error [osh status] Expected 2, got 1 stdout: stderr: a=( inside=() ) ^ [ stdin ]:1: fatal: Unexpected array literal |
mksh | 21 array literal inside loop is a parse error stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: syntax error: '(' unexpected |
osh | 21 array literal inside loop is a parse error [osh status] Expected 2, got 0 stdout: stderr: |
mksh | 22 array literal in case stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: syntax error: '(' unexpected |
osh | 22 array literal in case [osh status] Expected 2, got 0 stdout: stderr: |
mksh | 23 %foo=() is parse error (regression) stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: %foo=: invalid function name |