spec test index / oilshell.org
| status | dash | bash | mksh | osh | |
| pass | 5 | 5 | 5 | 7 | |
| ok | 2 | 2 | 2 | 0 | |
| total | 7 | 7 | 7 | 7 | |
| case | dash | bash | mksh | osh | description |
| 0 | pass | ok | ok | pass | Bad var sub |
| details | details | ||||
| 1 | pass | pass | pass | pass | Braced block inside ${} |
| 2 | pass | pass | pass | pass | Nested ${} |
| 3 | ok | pass | pass | pass | Filename redirect with "$@" |
| details | |||||
| 4 | pass | ok | pass | pass | Filename redirect with split word |
| details | |||||
| 5 | ok | pass | pass | pass | Descriptor redirect to bad "$@" |
| details | |||||
| 6 | pass | pass | ok | pass | Here doc with bad "$@" delimiter |
| details |
22 passed, 6 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| bash | 0 Bad var sub stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: ${a|}: bad substitution
|
| mksh | 0 Bad var sub stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: ${a|}: bad substitution
|
| dash | 3 Filename redirect with "$@" stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: cannot create _tmp/var-sub1 _tmp/var-sub2: Directory nonexistent |
| bash | 4 Filename redirect with split word stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: $foo: ambiguous redirect |
| dash | 5 Descriptor redirect to bad "$@" stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: Syntax error: Bad fd number |
| mksh | 6 Here doc with bad "$@" delimiter stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[7]: here document '$@' unclosed |