| status | bash | osh | |
| pass | 8 | 7 | |
| ok | 0 | 1 | |
| total | 8 | 8 | |
| case | bash | osh | description |
| 0 | pass | pass | shopt -s nullglob |
| 1 | pass | pass | shopt -s failglob in command context |
| 2 | pass | pass | shopt -s failglob in loop context |
| 3 | pass | pass | shopt -s failglob in array literal context |
| 4 | pass | pass | shopt -s failglob exits properly in command context with set -e |
| 5 | pass | pass | shopt -s failglob exits properly in loop context with set -e |
| 6 | pass | ok | shopt -s failglob behavior on single line with semicolon |
| details | |||
| 7 | pass | pass | dotglob (bash option that dashglob is roughly consistent with) |
15 passed, 1 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh | 6 shopt -s failglob behavior on single line with semicolon stdout: status=1 status=1stderr: echo *.ZZ; echo status=$? # bash doesn't execute the second part! ^~~~ [ stdin ]:2: failglob: Pattern '*.ZZ' matched no files echo *.ZZ ^~~~ [ stdin ]:3: failglob: Pattern '*.ZZ' matched no files |