| status | bash | zsh | osh | |
| pass | 4 | 3 | 1 | |
| N-I | 1 | 1 | 0 | |
| BUG | 0 | 1 | 0 | |
| FAIL | 0 | 0 | 4 | |
| total | 5 | 5 | 5 | |
| case | bash | zsh | osh | description |
| 0 | pass | N-I | pass | globstar is off -> ** is treated like * |
| details | ||||
| 1 | pass | BUG | FAIL | each occurrence of ** recurses through all depths |
| details | details | |||
| 2 | pass | pass | FAIL | within braces, globstar works when there is a comma |
| details | ||||
| 3 | pass | pass | FAIL | ** behaves like * if adjacent to anything other than / |
| details | ||||
| 4 | N-I | pass | FAIL | in zsh, ***/ follows symlinked directories, while **/ does not |
| details | details |
8 passed, 0 OK, 2 not implemented, 1 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
| zsh | 0 globstar is off -> ** is treated like * stdout: stderr: |
| zsh | 1 each occurrence of ** recurses through all depths stdout: c/leaf.md c/subdir/leaf.md leaf.md c/leaf.md c/leaf.md c/subdir/leaf.md c/subdir/leaf.md c/subdir/leaf.md leaf.mdstderr: zsh: command not found: shopt |
| osh | 1 each occurrence of ** recurses through all depths [osh stdout] Expected 'c/leaf.md\nc/subdir/leaf.md\nleaf.md\n\nc/leaf.md\nc/subdir/leaf.md\nleaf.md\n' Got 'c/leaf.md\n\nc/subdir/leaf.md\n' stdout: c/leaf.md c/subdir/leaf.mdstderr: shopt -s globstar ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'globstar' |
| osh | 2 within braces, globstar works when there is a comma [osh stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n' stdout: **/*.*stderr: shopt -s globstar ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'globstar' |
| osh | 3 ** behaves like * if adjacent to anything other than / [osh stdout] Expected 'directory/leaf.md leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n' Got 'directory/leaf.md\ndirectory/**/*.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n' stdout: directory/leaf.md directory/**/*.md directory/leaf.md directory/leaf.md directory/leaf.mdstderr: shopt -s globstar ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'globstar' |
| bash | 4 in zsh, ***/ follows symlinked directories, while **/ does not stdout: stderr: |
| osh | 4 in zsh, ***/ follows symlinked directories, while **/ does not [osh stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got 'directory-2/leaf-2.md\ndirectory-2/leaf-2.md\n' stdout: directory-2/leaf-2.md directory-2/leaf-2.mdstderr: |