| status | osh | osh-cpp | |
| pass | 12 | 12 | |
| FAIL | 3 | 3 | |
| total | 15 | 15 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | Don't glob flags on file system with GLOBIGNORE |
| 1 | pass | pass | basic star case -> ignore files with txt extension |
| 2 | pass | pass | basic question mark case -> ignore txt files with one char filename |
| 3 | pass | pass | multiple patterns -> ignore files with o or h extensions |
| 4 | FAIL | FAIL | ignore specific file |
| details | details | ||
| 5 | FAIL | FAIL | ignore contents of specific directories |
| details | details | ||
| 6 | FAIL | FAIL | find files in subdirectory but not the ignored pattern |
| details | details | ||
| 7 | pass | pass | basic range cases |
| 8 | pass | pass | range cases using character classes |
| 9 | pass | pass | ignore everything |
| 10 | pass | pass | treat escaped patterns literally |
| 11 | pass | pass | resetting globignore reverts to default behaviour |
| 12 | pass | pass | find dotfiles while ignoring . or .. |
| 13 | pass | pass | different styles |
| 14 | pass | pass | . and .. always filtered when GLOBIGNORE is set |
24 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
| osh | 4 ignore specific file [osh stdout] Expected 'src/__main__.py\n' Got 'src/. src/.. src/__main__.py\n' stdout: src/. src/.. src/__main__.pystderr: |
| osh-cpp | 4 ignore specific file [osh-cpp stdout] Expected 'src/__main__.py\n' Got 'src/. src/.. src/__main__.py\n' stdout: src/. src/.. src/__main__.pystderr: |
| osh | 5 ignore contents of specific directories [osh stdout] Expected 'compose/base.compose.yaml compose/dev.compose.yaml src/a.js src/b.js\n' Got '_tmp/. _tmp/.. compose/. compose/.. compose/base.compose.yaml compose/dev.compose.yaml src/. src/.. src/a.js src/b.js\n' stdout: _tmp/. _tmp/.. compose/. compose/.. compose/base.compose.yaml compose/dev.compose.yaml src/. src/.. src/a.js src/b.jsstderr: |
| osh-cpp | 5 ignore contents of specific directories [osh-cpp stdout] Expected 'compose/base.compose.yaml compose/dev.compose.yaml src/a.js src/b.js\n' Got '_tmp/. _tmp/.. compose/. compose/.. compose/base.compose.yaml compose/dev.compose.yaml src/. src/.. src/a.js src/b.js\n' stdout: _tmp/. _tmp/.. compose/. compose/.. compose/base.compose.yaml compose/dev.compose.yaml src/. src/.. src/a.js src/b.jsstderr: |
| osh | 6 find files in subdirectory but not the ignored pattern [osh stdout] Expected 'dir1/a.txt dir2/a.txt\n' Got '_tmp/. _tmp/.. dir1/. dir1/.. dir1/a.txt dir2/. dir2/.. dir2/a.txt\n' stdout: _tmp/. _tmp/.. dir1/. dir1/.. dir1/a.txt dir2/. dir2/.. dir2/a.txtstderr: |
| osh-cpp | 6 find files in subdirectory but not the ignored pattern [osh-cpp stdout] Expected 'dir1/a.txt dir2/a.txt\n' Got '_tmp/. _tmp/.. dir1/. dir1/.. dir1/a.txt dir2/. dir2/.. dir2/a.txt\n' stdout: _tmp/. _tmp/.. dir1/. dir1/.. dir1/a.txt dir2/. dir2/.. dir2/a.txtstderr: |