Results for glob.test.sh

statusdashbashmkshashosh
pass 2536272831
N-I 90570
BUG 31520
FAIL 00006
total3737373737
casedashbashmkshashoshdescription
0pass pass pass pass pass glob double quote escape
1pass pass pass pass pass glob single quote escape
2pass pass pass pass pass glob backslash escape
3pass pass pass pass pass 1 char glob
4pass pass pass pass pass 0 char glob -- does NOT work
5pass pass pass pass pass looks like glob at the start, but isn't
6pass pass pass pass pass looks like glob plus negation at the start, but isn't
7pass pass pass pass pass glob can expand to command and arg
8pass pass pass pass pass glob after var expansion
9pass pass pass pass pass quoted var expansion with glob meta characters
10pass pass pass pass pass glob after "$@" expansion
11pass pass pass pass pass glob after $@ expansion
12pass pass pass pass pass no glob after ~ expansion
13N-I pass pass N-I pass store literal globs in array then expand
detailsdetails
14N-I pass pass N-I pass glob inside array
detailsdetails
15pass pass pass pass pass glob with escaped - in char class
16pass pass BUG pass pass glob with char class expression
details
17pass pass pass pass pass glob double quotes
18pass pass pass pass pass glob escaped
19pass pass BUG BUG pass : escaped
detailsdetails
20pass BUG pass pass pass Redirect to glob, not evaluated
details
21pass pass pass pass pass Glob after var manipulation
22pass pass pass pass pass Glob after part joining
23pass pass pass pass pass Glob flags on file system
24pass pass pass pass pass set -o noglob
25pass pass pass pass pass set -o noglob (bug #698)
26N-I pass N-I N-I pass shopt -s nullglob
detailsdetailsdetails
27N-I pass N-I N-I FAIL shopt -s failglob in command context
detailsdetailsdetailsdetails
28N-I pass N-I N-I FAIL shopt -s failglob in loop context
detailsdetailsdetailsdetails
29N-I pass N-I N-I FAIL Don't glob flags on file system with GLOBIGNORE
detailsdetailsdetailsdetails
30BUG pass pass pass pass Splitting/Globbing doesn't happen on local assignment
details
31pass pass pass pass pass Glob of unescaped [[] and []]
32BUG pass BUG pass pass Glob of negated unescaped [[] and []]
detailsdetails
33N-I pass pass pass FAIL PatSub of unescaped [[] and []]
detailsdetails
34N-I pass BUG pass FAIL PatSub of negated unescaped [[] and []]
detailsdetailsdetails
35BUG pass BUG BUG pass Glob unicode char
detailsdetailsdetails
36N-I pass N-I N-I FAIL dotglob (bash option that dashglob is roughly consistent with)
detailsdetailsdetailsdetails
147 passed, 0 OK, 21 not implemented, 11 BUG, 6 failed, 0 timeouts, 0 cases skipped
6 failed under osh

Details on runs that didn't PASS

dash13 store literal globs in array then expand

stdout:
stderr: 
dash: 2: Syntax error: "(" unexpected
ash13 store literal globs in array then expand

stdout:
stderr: 
ash: syntax error: unexpected "("
dash14 glob inside array

stdout:
stderr: 
dash: 2: Syntax error: "(" unexpected
ash14 glob inside array

stdout:
stderr: 
ash: syntax error: unexpected "("
mksh16 glob with char class expression

stdout:
_tmp/*.[[:punct:]E]
stderr:
mksh19 : escaped

stdout:
_tmp/*.[[:punct:]] _tmp/*.[[:punct:]]
stderr:
ash19 : escaped

stdout:
_tmp/foo.- _tmp/foo.-
stderr:
bash20 Redirect to glob, not evaluated

stdout:
stderr: 
cat: '_tmp/*.F': No such file or directory
dash26 shopt -s nullglob

stdout:
['_tmp/spec-tmp/*.nonexistent']
['_tmp/spec-tmp/*.nonexistent']
stderr:
dash: 2: shopt: not found
mksh26 shopt -s nullglob

stdout:
['_tmp/spec-tmp/*.nonexistent']
['_tmp/spec-tmp/*.nonexistent']
stderr:
mksh: <stdin>[2]: shopt: not found
ash26 shopt -s nullglob

stdout:
['_tmp/spec-tmp/*.nonexistent']
['_tmp/spec-tmp/*.nonexistent']
stderr:
ash: shopt: not found
dash27 shopt -s failglob in command context

stdout:
['*.ZZ']
['*.ZZ']
status=0
stderr:
dash: 2: shopt: not found
mksh27 shopt -s failglob in command context

stdout:
['*.ZZ']
['*.ZZ']
status=0
stderr:
mksh: <stdin>[2]: shopt: not found
ash27 shopt -s failglob in command context

stdout:
['*.ZZ']
['*.ZZ']
status=0
stderr:
ash: shopt: not found
osh27 shopt -s failglob in command context

[osh stdout] Expected "['*.ZZ']\nstatus=1\n", got "['*.ZZ']\n['*.ZZ']\nstatus=0\n"

stdout:
['*.ZZ']
['*.ZZ']
status=0
stderr:
dash28 shopt -s failglob in loop context

stdout:
*.ZZ
status=0
*.ZZ
status=0
stderr:
dash: 3: shopt: not found
mksh28 shopt -s failglob in loop context

stdout:
*.ZZ
status=0
*.ZZ
status=0
stderr:
mksh: <stdin>[3]: shopt: not found
ash28 shopt -s failglob in loop context

stdout:
*.ZZ
status=0
*.ZZ
status=0
stderr:
ash: shopt: not found
osh28 shopt -s failglob in loop context

[osh stdout] Expected '*.ZZ\nstatus=0\nstatus=1\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n'

stdout:
*.ZZ
status=0
*.ZZ
status=0
stderr:
dash29 Don't glob flags on file system with GLOBIGNORE

stdout:
hello zzzzz
stderr:
mksh29 Don't glob flags on file system with GLOBIGNORE

stdout:
hello zzzzz
stderr:
ash29 Don't glob flags on file system with GLOBIGNORE

stdout:
hello zzzzz
stderr:
osh29 Don't glob flags on file system with GLOBIGNORE

[osh stdout] Expected u'-* hello zzzz?\n', got 'hello zzzzz'

stdout:
hello zzzzz
stderr:
dash30 Splitting/Globbing doesn't happen on local assignment

stdout:
stderr: 
dash: 4: local: INSTALL.txt: bad variable name
dash32 Glob of negated unescaped [[] and []]

stdout:
_[^[z] _[^]z]
_[^[z] _[^]z]
stderr:
mksh32 Glob of negated unescaped [[] and []]

stdout:
_[^[z] _[^]z]
_[^[z] _[^]z]
stderr:
dash33 PatSub of unescaped [[] and []]

stdout:
stderr: 
dash: 2: Bad substitution
osh33 PatSub of unescaped [[] and []]

[osh stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo>\n[foo]\n[foo>\n'

stdout:
<foo]
[foo>
[foo]
[foo>
stderr:
dash34 PatSub of negated unescaped [[] and []]

stdout:
stderr: 
dash: 2: Bad substitution
mksh34 PatSub of negated unescaped [[] and []]

stdout:
<foo]
[foo>
<foo]
stderr:
osh34 PatSub of negated unescaped [[] and []]

[osh stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n>>>>]\n[foo]\n'

stdout:
[<<<<
>>>>]
[foo]
stderr:
dash35 Glob unicode char

stdout:
__a__
stderr:
mksh35 Glob unicode char

stdout:
__a__
stderr:
ash35 Glob unicode char

stdout:
__a__
stderr:
dash36 dotglob (bash option that dashglob is roughly consistent with)

stdout:
other
other
stderr:
dash: 6: shopt: not found
mksh36 dotglob (bash option that dashglob is roughly consistent with)

stdout:
other
other
stderr:
mksh: <stdin>[6]: shopt: not found
ash36 dotglob (bash option that dashglob is roughly consistent with)

stdout:
other
other
stderr:
ash: shopt: not found
osh36 dotglob (bash option that dashglob is roughly consistent with)

[osh stdout] Expected 'other\n.foorc other\n', got 'other\nother\n'

stdout:
other
other
stderr: