spec test index / oilshell.org
| status | bash | zsh | osh | |
| pass | 5 | 5 | 9 | |
| ok | 0 | 1 | 0 | |
| N-I | 3 | 3 | 0 | |
| FAIL | 1 | 0 | 0 | |
| total | 9 | 9 | 9 | |
| case | bash | zsh | osh | description |
| 0 | pass | pass | pass | Process sub input |
| 1 | pass | pass | pass | Process sub from external process to stdin |
| 2 | pass | pass | pass | Process sub from shell to stdin |
| 3 | pass | pass | pass | Non-linear pipeline with >() |
| 4 | FAIL | ok | pass | $(<file) idiom with process sub |
| details | details | |||
| 5 | N-I | N-I | pass | status code is available |
| details | details | |||
| 6 | N-I | N-I | pass | shopt -s process_sub_fail |
| details | details | |||
| 7 | N-I | N-I | pass | process subs and pipelines together |
| details | details | |||
| 8 | pass | pass | pass | process sub in background & |
19 passed, 1 OK, 6 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
| bash | 4 $(<file) idiom with process sub [bash stdout] Expected 'FOO\nhi\n', got 'FOO\nfoo\nhi\n' stdout: FOO foo histderr: |
| zsh | 4 $(<file) idiom with process sub stdout: FOO foo FOO histderr: |
| bash | 5 status code is available stdout: 1 2 1 2 3stderr: bash: line 1: shopt: --: invalid option shopt: usage: shopt [-pqsu] [-o] [optname ...] |
| zsh | 5 status code is available stdout: 1 2 1 2 3stderr: zsh: command not found: shopt |
| bash | 6 shopt -s process_sub_fail stdout: stderr: |
| zsh | 6 shopt -s process_sub_fail stdout: stderr: |
| bash | 7 process subs and pipelines together stdout: stderr: |
| zsh | 7 process subs and pipelines together stdout: stderr: |