Results for globignore.test.sh

statusbashosh
pass 1512
FAIL 03
total1515
casebashoshdescription
0pass pass Don't glob flags on file system with GLOBIGNORE
1pass pass basic star case -> ignore files with txt extension
2pass pass basic question mark case -> ignore txt files with one char filename
3pass pass multiple patterns -> ignore files with o or h extensions
4pass FAIL ignore specific file
details
5pass FAIL ignore contents of specific directories
details
6pass FAIL find files in subdirectory but not the ignored pattern
details
7pass pass basic range cases
8pass pass range cases using character classes
9pass pass ignore everything
10pass pass treat escaped patterns literally
11pass pass resetting globignore reverts to default behaviour
12pass pass find dotfiles while ignoring . or ..
13pass pass different styles
14pass pass . and .. always filtered when GLOBIGNORE is set
27 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

osh4 ignore specific file

[osh stdout] Expected 'src/__main__.py\n' Got 'src/. src/.. src/__main__.py\n'

stdout:
src/. src/.. src/__main__.py
stderr:
osh5 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.js
stderr:
osh6 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.txt
stderr: