status | bash | mksh | ksh | toysh | sush | brush | osh | |
pass | 4 | 1 | 1 | 0 | 4 | 1 | 1 | |
N-I | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |
FAIL | 0 | 4 | 4 | 5 | 1 | 4 | 4 | |
total | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
case | bash | mksh | ksh | toysh | sush | brush | osh | description |
0 | pass | pass | pass | FAIL | pass | pass | pass | globstar is off -> ** is treated like * |
details | ||||||||
1 | pass | FAIL | FAIL | FAIL | pass | FAIL | FAIL | each occurrence of ** recurses through all depths |
details | details | details | details | details | ||||
2 | pass | FAIL | FAIL | FAIL | pass | FAIL | FAIL | within braces, globstar works when there is a comma |
details | details | details | details | details | ||||
3 | pass | FAIL | FAIL | FAIL | pass | FAIL | FAIL | ** behaves like * if adjacent to anything other than / |
details | details | details | details | details | ||||
4 | N-I | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | in zsh, ***/ follows symlinked directories, while **/ does not |
details | details | details | details | details | details | details |
12 passed, 0 OK, 1 not implemented, 0 BUG, 22 failed, 0 timeouts, 0 cases skipped 4 failed under osh
toysh | 0 globstar is off -> ** is treated like * [toysh stdout] Expected 'c/leaf.md\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
mksh | 1 each occurrence of ** recurses through all depths [mksh 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: mksh: <stdin>[1]: shopt: not found |
ksh | 1 each occurrence of ** recurses through all depths [ksh 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: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
toysh | 1 each occurrence of ** recurses through all depths [toysh 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: sh: shopt: No such file or directory |
brush | 1 each occurrence of ** recurses through all depths [brush 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: |
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' |
mksh | 2 within braces, globstar works when there is a comma [mksh stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n' stdout: **/*.*stderr: mksh: <stdin>[1]: shopt: not found |
ksh | 2 within braces, globstar works when there is a comma [ksh stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n' stdout: **/*.*stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
toysh | 2 within braces, globstar works when there is a comma [toysh stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n' stdout: **/*.*stderr: sh: shopt: No such file or directory |
brush | 2 within braces, globstar works when there is a comma [brush stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n' stdout: **/*.*stderr: |
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' |
mksh | 3 ** behaves like * if adjacent to anything other than / [mksh 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: mksh: <stdin>[1]: shopt: not found |
ksh | 3 ** behaves like * if adjacent to anything other than / [ksh 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: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
toysh | 3 ** behaves like * if adjacent to anything other than / [toysh 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: sh: shopt: No such file or directory |
brush | 3 ** behaves like * if adjacent to anything other than / [brush 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: |
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: |
mksh | 4 in zsh, ***/ follows symlinked directories, while **/ does not [mksh 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: |
ksh | 4 in zsh, ***/ follows symlinked directories, while **/ does not [ksh 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: |
toysh | 4 in zsh, ***/ follows symlinked directories, while **/ does not [toysh stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 4 in zsh, ***/ follows symlinked directories, while **/ does not [sush 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: |
brush | 4 in zsh, ***/ follows symlinked directories, while **/ does not [brush 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: |
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: |