Results for glob.test.sh

statusbashdashmkshashosh
pass 3629293234
N-I 05130
BUG 13720
FAIL 00003
total3737373737
casebashdashmkshashoshdescription
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
13pass N-I pass N-I pass store literal globs in array then expand
detailsdetails
14pass N-I 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
19BUG pass BUG BUG pass : escaped
detailsdetailsdetails
20pass pass pass pass pass Glob after var manipulation
21pass pass pass pass pass Glob after part joining
22pass pass pass pass pass Glob flags on file system
23pass pass pass pass pass set -o noglob
24pass pass pass pass pass set -o noglob (bug #698)
25pass BUG pass pass pass Splitting/Globbing doesn't happen on local assignment
details
26pass pass pass pass pass Glob of unescaped [[] and []]
27pass BUG BUG pass pass Glob of negated unescaped [[] and []]
detailsdetails
28pass N-I pass pass FAIL PatSub of unescaped [[] and []]
detailsdetails
29pass N-I BUG pass FAIL PatSub of negated unescaped [[] and []]
detailsdetailsdetails
30pass BUG BUG BUG pass Glob unicode char
detailsdetailsdetails
31pass N-I N-I N-I FAIL Glob ordering respects LC_COLLATE (zsh respects this too)
detailsdetailsdetailsdetails
32pass pass BUG pass pass \ in unquoted substitutions does not match a backslash
details
33pass pass pass pass pass \ in unquoted substitutions is preserved
34pass pass pass pass pass \ in unquoted substitutions is preserved with set -o noglob
35pass pass pass pass pass \ in unquoted substitutions is preserved without glob matching
36pass pass BUG pass pass \ in unquoted substitutions escapes globchars
details
160 passed, 0 OK, 9 not implemented, 13 BUG, 3 failed, 0 timeouts, 0 cases skipped
3 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:
bash19 : escaped

stdout:
_tmp/foo.- _tmp/foo.-
stderr:
mksh19 : escaped

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

stdout:
_tmp/foo.- _tmp/foo.-
stderr:
dash25 Splitting/Globbing doesn't happen on local assignment

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

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

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

stdout:
stderr: 
dash: 2: Bad substitution
osh28 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:
dash29 PatSub of negated unescaped [[] and []]

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

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

[osh stdout] Expected '[<<<<\n>>>>]\n[<<<<\n' Got '[<<<<\n>>>>]\n[foo]\n'

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

stdout:
__a__
stderr:
mksh30 Glob unicode char

stdout:
__a__
stderr:
ash30 Glob unicode char

stdout:
__a__
stderr:
dash31 Glob ordering respects LC_COLLATE (zsh respects this too)

stdout:
hello hello-test.sh hello.py hello_preamble.sh
hello hello-test.sh hello.py hello_preamble.sh
hello hello-test.sh hello.py hello_preamble.sh
stderr:
mksh31 Glob ordering respects LC_COLLATE (zsh respects this too)

stdout:
hello hello-test.sh hello.py hello_preamble.sh
hello hello-test.sh hello.py hello_preamble.sh
hello hello-test.sh hello.py hello_preamble.sh
stderr:
ash31 Glob ordering respects LC_COLLATE (zsh respects this too)

stdout:
hello hello-test.sh hello.py hello_preamble.sh
hello hello-test.sh hello.py hello_preamble.sh
hello hello-test.sh hello.py hello_preamble.sh
stderr:
osh31 Glob ordering respects LC_COLLATE (zsh respects this too)

[osh stdout] Expected 'hello hello-test.sh hello.py hello_preamble.sh\nhello hello_preamble.sh hello.py hello-test.sh\nhello hello_preamble.sh hello.py hello-test.sh\n' Got 'hello hello-test.sh hello.py hello_preamble.sh\nhello hello-test.sh hello.py hello_preamble.sh\nhello hello_preamble.sh hello.py hello-test.sh\n'

stdout:
hello hello-test.sh hello.py hello_preamble.sh
hello hello-test.sh hello.py hello_preamble.sh
hello hello_preamble.sh hello.py hello-test.sh
stderr:
mksh32 \ in unquoted substitutions does not match a backslash

stdout:
['x/test.ifs.\\.txt', 'x/test.ifs.\\b.txt']
["x/*\\'.txt"]
['x/*\\a.txt']
['x/test.ifs.\\b.txt']
stderr:
mksh36 \ in unquoted substitutions escapes globchars

stdout:
['x/test.ifs.\\.txt']
['x/test.ifs.\\.txt']
['x/test.ifs.\\.txt']
stderr: