status | osh | osh-cpp | |
pass | 1 | 1 | |
FAIL | 4 | 4 | |
total | 5 | 5 | |
case | osh | osh-cpp | description |
0 | pass | pass | globstar is off -> ** is treated like * |
1 | FAIL | FAIL | each occurrence of ** recurses through all depths |
details | details | ||
2 | FAIL | FAIL | within braces, globstar works when there is a comma |
details | details | ||
3 | FAIL | FAIL | ** behaves like * if adjacent to anything other than / |
details | details | ||
4 | FAIL | FAIL | in zsh, ***/ follows symlinked directories, while **/ does not |
details | details |
2 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
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-cpp | 1 each occurrence of ** recurses through all depths [osh-cpp 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-cpp | 2 within braces, globstar works when there is a comma [osh-cpp 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' |
osh-cpp | 3 ** behaves like * if adjacent to anything other than / [osh-cpp 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' |
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: |
osh-cpp | 4 in zsh, ***/ follows symlinked directories, while **/ does not [osh-cpp 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: |