Results for extglob-files.test.sh

statusbashdashashzshmkshkshtoyshsushbrushosh
pass 2200218182141918
ok 0000200002
N-I 1000200002
BUG 0000100000
FAIL 02323210521941
total23232323232323232323
casebashdashashzshmkshkshtoyshsushbrushoshdescription
0pass FAIL FAIL FAIL pass pass FAIL pass pass pass @() matches exactly one of the patterns
detailsdetailsdetailsdetails
1pass FAIL FAIL FAIL pass pass FAIL pass pass pass ?() matches 0 or 1
detailsdetailsdetailsdetails
2pass FAIL FAIL FAIL pass pass FAIL pass pass pass *() matches 0 or more
detailsdetailsdetailsdetails
3pass FAIL FAIL FAIL pass pass FAIL pass pass pass +() matches 1 or more
detailsdetailsdetailsdetails
4pass FAIL FAIL FAIL pass pass FAIL pass FAIL pass !(*.h|*.cc) to match everything except C++
detailsdetailsdetailsdetailsdetails
5pass FAIL FAIL FAIL pass pass FAIL pass pass pass Two adjacent alternations
detailsdetailsdetailsdetails
6pass FAIL FAIL FAIL pass pass FAIL pass pass pass Nested extended glob pattern
detailsdetailsdetailsdetails
7pass FAIL FAIL FAIL pass pass FAIL pass FAIL pass Extended glob patterns with spaces
detailsdetailsdetailsdetailsdetails
8pass FAIL FAIL FAIL pass pass FAIL pass pass pass Filenames with spaces
detailsdetailsdetailsdetails
9pass FAIL FAIL FAIL BUG FAIL FAIL pass pass pass nullglob with extended glob
detailsdetailsdetailsdetailsdetailsdetails
10pass FAIL FAIL FAIL pass pass FAIL FAIL pass pass Glob other punctuation chars (lexer mode)
detailsdetailsdetailsdetailsdetails
11pass FAIL FAIL FAIL pass pass FAIL FAIL pass pass More glob escaping
detailsdetailsdetailsdetailsdetails
12pass FAIL FAIL FAIL pass pass FAIL FAIL pass FAIL Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c)
detailsdetailsdetailsdetailsdetailsdetails
13pass FAIL FAIL FAIL ok FAIL FAIL pass pass ok Extended glob as argument to ${undef:-} (dynamic globbing)
detailsdetailsdetailsdetailsdetailsdetailsdetails
14pass FAIL FAIL FAIL ok FAIL FAIL FAIL pass ok Extended glob in assignment builtin
detailsdetailsdetailsdetailsdetailsdetailsdetailsdetails
15pass FAIL FAIL FAIL pass pass FAIL FAIL pass N-I Extended glob in same word as array
detailsdetailsdetailsdetailsdetailsdetails
16pass FAIL FAIL FAIL pass pass FAIL pass pass N-I Extended glob with word splitting
detailsdetailsdetailsdetailsdetails
17pass FAIL FAIL FAIL pass pass FAIL pass pass pass In Array Literal and for loop
detailsdetailsdetailsdetails
18pass FAIL FAIL pass pass pass FAIL pass pass pass No extended glob with simple_word_eval (Oil evaluation)
detailsdetailsdetails
19pass FAIL FAIL FAIL pass pass pass FAIL pass pass no match
detailsdetailsdetailsdetails
20N-I FAIL FAIL FAIL N-I FAIL FAIL FAIL FAIL pass dashglob
detailsdetailsdetailsdetailsdetailsdetailsdetailsdetailsdetails
21pass FAIL FAIL pass pass pass pass FAIL pass pass noglob
detailsdetailsdetails
22pass FAIL FAIL FAIL N-I FAIL FAIL FAIL FAIL pass failglob
detailsdetailsdetailsdetailsdetailsdetailsdetailsdetails
113 passed, 4 OK, 5 not implemented, 1 BUG, 107 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

dash0 @() matches exactly one of the patterns

[dash stdout] Expected 'bar.cc bar.h baz.h foo.cc foo.h\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 5: Syntax error: "(" unexpected
ash0 @() matches exactly one of the patterns

[ash stdout] Expected 'bar.cc bar.h baz.h foo.cc foo.h\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh0 @() matches exactly one of the patterns

[zsh stdout] Expected 'bar.cc bar.h baz.h foo.cc foo.h\n', got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: @(*.cc|*.h)
toysh0 @() matches exactly one of the patterns

[toysh stdout] Expected 'bar.cc bar.h baz.h foo.cc foo.h\n', got '@(*.cc|*.h)\n'

stdout:
@(*.cc|*.h)
stderr:
sh: shopt: No such file or directory
dash1 ?() matches 0 or 1

[dash stdout] Expected 'foo. foo.cc foo.h\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 6: Syntax error: "(" unexpected
ash1 ?() matches 0 or 1

[ash stdout] Expected 'foo. foo.cc foo.h\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh1 ?() matches 0 or 1

[zsh stdout] Expected 'foo. foo.cc foo.h\n', got 'foo.hh\n'

stdout:
foo.hh
stderr:
zsh: command not found: shopt
toysh1 ?() matches 0 or 1

[toysh stdout] Expected 'foo. foo.cc foo.h\n', got 'foo.?(cc|h)\n'

stdout:
foo.?(cc|h)
stderr:
sh: shopt: No such file or directory
dash2 *() matches 0 or more

[dash stdout] Expected 'eg1/_ eg1/_One eg1/_OneOne eg1/_OneTwo eg1/_TwoTwo\n' Got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 4: Syntax error: "(" unexpected
ash2 *() matches 0 or more

[ash stdout] Expected 'eg1/_ eg1/_One eg1/_OneOne eg1/_OneTwo eg1/_TwoTwo\n' Got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh2 *() matches 0 or more

[zsh stdout] Expected 'eg1/_ eg1/_One eg1/_OneOne eg1/_OneTwo eg1/_TwoTwo\n' Got 'eg1/_One eg1/_OneOne eg1/_OneTwo eg1/_TwoTwo\n'

stdout:
eg1/_One eg1/_OneOne eg1/_OneTwo eg1/_TwoTwo
stderr:
zsh: command not found: shopt
toysh2 *() matches 0 or more

[toysh stdout] Expected 'eg1/_ eg1/_One eg1/_OneOne eg1/_OneTwo eg1/_TwoTwo\n' Got 'eg1/_*(One|Two)\n'

stdout:
eg1/_*(One|Two)
stderr:
sh: shopt: No such file or directory
dash3 +() matches 1 or more

[dash stdout] Expected 'eg2/_One eg2/_OneOne eg2/_OneTwo eg2/_TwoTwo\n' Got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 4: Syntax error: "(" unexpected
ash3 +() matches 1 or more

[ash stdout] Expected 'eg2/_One eg2/_OneOne eg2/_OneTwo eg2/_TwoTwo\n' Got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh3 +() matches 1 or more

[zsh stdout] Expected 'eg2/_One eg2/_OneOne eg2/_OneTwo eg2/_TwoTwo\n' Got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: eg2/_+(One|Two)
toysh3 +() matches 1 or more

[toysh stdout] Expected 'eg2/_One eg2/_OneOne eg2/_OneTwo eg2/_TwoTwo\n' Got 'eg2/_+(One|Two)\n'

stdout:
eg2/_+(One|Two)
stderr:
sh: shopt: No such file or directory
dash4 !(*.h|*.cc) to match everything except C++

[dash stdout] Expected 'extglob2/bar.py extglob2/baz.py extglob2/foo.py\n' Got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 5: Syntax error: "(" unexpected
ash4 !(*.h|*.cc) to match everything except C++

[ash stdout] Expected 'extglob2/bar.py extglob2/baz.py extglob2/foo.py\n' Got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh4 !(*.h|*.cc) to match everything except C++

[zsh stdout] Expected 'extglob2/bar.py extglob2/baz.py extglob2/foo.py\n' Got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: extglob2/!(*.h|*.cc)
toysh4 !(*.h|*.cc) to match everything except C++

[toysh stdout] Expected 'extglob2/bar.py extglob2/baz.py extglob2/foo.py\n' Got 'extglob2/!(*.h|*.cc)\n'

stdout:
extglob2/!(*.h|*.cc)
stderr:
sh: shopt: No such file or directory
brush4 !(*.h|*.cc) to match everything except C++

[brush stdout] Expected 'extglob2/bar.py extglob2/baz.py extglob2/foo.py\n' Got 'extglob2/!(*.h|*.cc)\n'

stdout:
extglob2/!(*.h|*.cc)
stderr:
extglob2/foo.py: not found
dash5 Two adjacent alternations

[dash stdout] Expected '2/ab 2/ac 2/cb 2/cc\n2/ab 2/ac 2/bb 2/bc 2/cb 2/cc\n2/ab 2/ac\n' Got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 4: Syntax error: "(" unexpected
ash5 Two adjacent alternations

[ash stdout] Expected '2/ab 2/ac 2/cb 2/cc\n2/ab 2/ac 2/bb 2/bc 2/cb 2/cc\n2/ab 2/ac\n' Got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh5 Two adjacent alternations

[zsh stdout] Expected '2/ab 2/ac 2/cb 2/cc\n2/ab 2/ac 2/bb 2/bc 2/cb 2/cc\n2/ab 2/ac\n' Got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: 2/!(b)@(b|c)
toysh5 Two adjacent alternations

[toysh stdout] Expected '2/ab 2/ac 2/cb 2/cc\n2/ab 2/ac 2/bb 2/bc 2/cb 2/cc\n2/ab 2/ac\n' Got '2/!(b)@(b|c)\n2/!(b)?@(b|c)\n2/!(b)a@(b|c)\n'

stdout:
2/!(b)@(b|c)
2/!(b)?@(b|c)
2/!(b)a@(b|c)
stderr:
sh: shopt: No such file or directory
dash6 Nested extended glob pattern

[dash stdout] Expected 'eg6/ab eg6/az\neg6/ac eg6/ad eg6/az\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 4: Syntax error: "(" unexpected
ash6 Nested extended glob pattern

[ash stdout] Expected 'eg6/ab eg6/az\neg6/ac eg6/ad eg6/az\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh6 Nested extended glob pattern

[zsh stdout] Expected 'eg6/ab eg6/az\neg6/ac eg6/ad eg6/az\n', got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: eg6/a@(!(c|d))
toysh6 Nested extended glob pattern

[toysh stdout] Expected 'eg6/ab eg6/az\neg6/ac eg6/ad eg6/az\n', got 'eg6/a@(!(c|d))\neg6/a!(@(ab|b*))\n'

stdout:
eg6/a@(!(c|d))
eg6/a!(@(ab|b*))
stderr:
sh: shopt: No such file or directory
dash7 Extended glob patterns with spaces

[dash stdout] Expected "['eg4/a b', 'eg4/foo']\n", got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 4: Syntax error: "(" unexpected
ash7 Extended glob patterns with spaces

[ash stdout] Expected "['eg4/a b', 'eg4/foo']\n", got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh7 Extended glob patterns with spaces

[zsh stdout] Expected "['eg4/a b', 'eg4/foo']\n", got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: eg4/@(a b|foo)
toysh7 Extended glob patterns with spaces

[toysh stdout] Expected "['eg4/a b', 'eg4/foo']\n", got "['eg4/@(a b|foo)']\n"

stdout:
['eg4/@(a b|foo)']
stderr:
sh: shopt: No such file or directory
brush7 Extended glob patterns with spaces

[brush stdout] Expected "['eg4/a b', 'eg4/foo']\n", got "['eg4/@(a', 'b|foo)']\n"

stdout:
['eg4/@(a', 'b|foo)']
stderr:
dash8 Filenames with spaces

[dash stdout] Expected "['eg5/a bcd', 'eg5/a bde']\n", got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 4: Syntax error: "(" unexpected
ash8 Filenames with spaces

[ash stdout] Expected "['eg5/a bcd', 'eg5/a bde']\n", got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh8 Filenames with spaces

[zsh stdout] Expected "['eg5/a bcd', 'eg5/a bde']\n", got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: eg5/a @(bcd|bde|zzz)
toysh8 Filenames with spaces

[toysh stdout] Expected "['eg5/a bcd', 'eg5/a bde']\n", got "['eg5/a @(bcd|bde|zzz)']\n"

stdout:
['eg5/a @(bcd|bde|zzz)']
stderr:
sh: shopt: No such file or directory
dash9 nullglob with extended glob

[dash stdout] Expected "['eg6/@(no|matches)']\n[]\n", got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 3: Syntax error: "(" unexpected
ash9 nullglob with extended glob

[ash stdout] Expected "['eg6/@(no|matches)']\n[]\n", got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh9 nullglob with extended glob

[zsh stdout] Expected "['eg6/@(no|matches)']\n[]\n", got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: eg6/@(no|matches)
zsh: command not found: shopt
zsh: no matches found: eg6/@(no|matches)
mksh9 nullglob with extended glob

stdout:
['eg6/@(no|matches)']
['eg6/@(no|matches)']
stderr:
mksh: <stdin>[1]: shopt: not found
mksh: <stdin>[4]: shopt: not found
ksh9 nullglob with extended glob

[ksh stdout] Expected "['eg6/@(no|matches)']\n[]\n", got "['eg6/@(no|matches)']\n['eg6/@(no|matches)']\n"

stdout:
['eg6/@(no|matches)']
['eg6/@(no|matches)']
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
E: ksh: <stdin>[4]: shopt: inaccessible or not found
toysh9 nullglob with extended glob

[toysh stdout] Expected "['eg6/@(no|matches)']\n[]\n", got "['eg6/@(no|matches)']\n['eg6/@(no|matches)']\n"

stdout:
['eg6/@(no|matches)']
['eg6/@(no|matches)']
stderr:
sh: shopt: No such file or directory
sh: shopt: No such file or directory
dash10 Glob other punctuation chars (lexer mode)

[dash stdout] Expected "['__#', '__&&', '__<>', '__aa', '__{}']\n" Got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 5: Syntax error: "(" unexpected
ash10 Glob other punctuation chars (lexer mode)

[ash stdout] Expected "['__#', '__&&', '__<>', '__aa', '__{}']\n" Got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh10 Glob other punctuation chars (lexer mode)

[zsh stdout] Expected "['__#', '__&&', '__<>', '__aa', '__{}']\n" Got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: parse error near `|'
toysh10 Glob other punctuation chars (lexer mode)

[toysh stdout] Expected "['__#', '__&&', '__<>', '__aa', '__{}']\n" Got "['@(__aa|__<>|__{}|__#|__&&|)']\n"

stdout:
['@(__aa|__<>|__{}|__#|__&&|)']
stderr:
sh: shopt: No such file or directory
sush10 Glob other punctuation chars (lexer mode)

[sush stdout] Expected "['__#', '__&&', '__<>', '__aa', '__{}']\n" Got "['__#', '__&&', '__aa', '__{}']\n"

stdout:
['__#', '__&&', '__aa', '__{}']
stderr:
dash11 More glob escaping

[dash stdout] Expected "['_*', '_?', '_[:]']\n['_*', '_?', '_[:]']\n" Got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 5: Syntax error: "(" unexpected
ash11 More glob escaping

[ash stdout] Expected "['_*', '_?', '_[:]']\n['_*', '_?', '_[:]']\n" Got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh11 More glob escaping

[zsh stdout] Expected "['_*', '_?', '_[:]']\n['_*', '_?', '_[:]']\n" Got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: @(_[:]|_*|_?)
zsh: no matches found: @(nested|_?|@(_[:]|_*))
toysh11 More glob escaping

[toysh stdout] Expected "['_*', '_?', '_[:]']\n['_*', '_?', '_[:]']\n" Got "['@(_[:]|_*|_?)']\n['@(nested|_?|@(_[:]|_*))']\n"

stdout:
['@(_[:]|_*|_?)']
['@(nested|_?|@(_[:]|_*))']
stderr:
sh: shopt: No such file or directory
sush11 More glob escaping

[sush stdout] Expected "['_*', '_?', '_[:]']\n['_*', '_?', '_[:]']\n" Got '["@(\'_[:]\'|\'_*\'|\'_?\')"]\n["@(nested|\'_?\'|@(\'_[:]\'|\'_*\'))"]\n'

stdout:
["@('_[:]'|'_*'|'_?')"]
["@(nested|'_?'|@('_[:]'|'_*'))"]
stderr:
dash12 Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c)

[dash stdout] Expected "['__|', 'foo']\n['__|', 'foo']\n", got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 7: Syntax error: "(" unexpected
ash12 Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c)

[ash stdout] Expected "['__|', 'foo']\n['__|', 'foo']\n", got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh12 Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c)

[zsh stdout] Expected "['__|', 'foo']\n['__|', 'foo']\n", got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: @(foo|__||bar)
zsh: no matches found: @(foo|__||bar)
toysh12 Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c)

[toysh stdout] Expected "['__|', 'foo']\n['__|', 'foo']\n", got "['@(foo|__||bar)']\n['@(foo|__||bar)']\n"

stdout:
['@(foo|__||bar)']
['@(foo|__||bar)']
stderr:
sh: shopt: No such file or directory
sush12 Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c)

[sush stdout] Expected "['__|', 'foo']\n['__|', 'foo']\n", got '[\'__|\']\n["@(\'foo\'|\'__|\'|bar)"]\n'

stdout:
['__|']
["@('foo'|'__|'|bar)"]
stderr:
osh12 Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c)

[osh stdout] Expected "['__|', 'foo']\n['__|', 'foo']\n", got "['foo']\n['foo']\n"

stdout:
['foo']
['foo']
stderr:
dash13 Extended glob as argument to ${undef:-} (dynamic globbing)

[dash stdout] Expected 'bar.py foo.py spam.py\nbar.py foo.py\n', got '{foo,bar,spam}.py\n@(foo|bar).py\n'

stdout:
{foo,bar,spam}.py
@(foo|bar).py
stderr:
dash: 1: shopt: not found
ash13 Extended glob as argument to ${undef:-} (dynamic globbing)

[ash stdout] Expected 'bar.py foo.py spam.py\nbar.py foo.py\n', got '{foo,bar,spam}.py\n@(foo|bar).py\n'

stdout:
{foo,bar,spam}.py
@(foo|bar).py
stderr:
ash: shopt: not found
zsh13 Extended glob as argument to ${undef:-} (dynamic globbing)

[zsh stdout] Expected 'bar.py foo.py spam.py\nbar.py foo.py\n', got 'bar.py foo.py spam.py\n'
[zsh status] Expected 0, got 1

stdout:
bar.py foo.py spam.py
stderr:
zsh: command not found: shopt
zsh: no matches found: @(foo|bar).py
mksh13 Extended glob as argument to ${undef:-} (dynamic globbing)

stdout:
bar.py foo.py spam.py
@(foo|bar).py
stderr:
mksh: <stdin>[1]: shopt: not found
ksh13 Extended glob as argument to ${undef:-} (dynamic globbing)

[ksh stdout] Expected 'bar.py foo.py spam.py\nbar.py foo.py\n', got 'bar.py foo.py spam.py\n@(foo|bar).py\n'

stdout:
bar.py foo.py spam.py
@(foo|bar).py
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
toysh13 Extended glob as argument to ${undef:-} (dynamic globbing)

[toysh stdout] Expected 'bar.py foo.py spam.py\nbar.py foo.py\n', got 'bar.py spam.py foo.py\n@(foo|bar).py\n'

stdout:
bar.py spam.py foo.py
@(foo|bar).py
stderr:
sh: shopt: No such file or directory
osh13 Extended glob as argument to ${undef:-} (dynamic globbing)

stdout:
bar.py foo.py spam.py
stderr:
  echo ${undef:-@(foo|bar).py}
                ^~
[ stdin ]:9: fatal: Extended glob not allowed in this word
dash14 Extended glob in assignment builtin

[dash stdout] Expected 'status=2\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 5: Syntax error: "(" unexpected
ash14 Extended glob in assignment builtin

[ash stdout] Expected 'status=2\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh14 Extended glob in assignment builtin

[zsh stdout] Expected 'status=2\n', got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: unknown file attribute: y
mksh14 Extended glob in assignment builtin

stdout:
status=1
stderr:
mksh: <stdin>[1]: shopt: not found
mksh: <stdin>[5]: typeset: -@: unknown option
ksh14 Extended glob in assignment builtin

[ksh stdout] Expected 'status=2\n', got 'status=1\n'

stdout:
status=1
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
E: ksh: <stdin>[5]: typeset: -@: unknown option
toysh14 Extended glob in assignment builtin

[toysh stdout] Expected 'status=2\n', got 'status=127\n'

stdout:
status=127
stderr:
sh: shopt: No such file or directory
sh: typeset: No such file or directory
sush14 Extended glob in assignment builtin

[sush stdout] Expected 'status=2\n', got 'status=1\n'

stdout:
status=1
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: -@: not found
osh14 Extended glob in assignment builtin

stdout:
stderr: 
  typeset -@(*.py) myvar
          ^
[ stdin ]:5: fatal: Extended glob not allowed in this word
dash15 Extended glob in same word as array

[dash stdout] Expected "['a b', 'c']\n['star', 'glob', 'a b c.py']\n['star', 'extglob', 'a b c.cc', 'a b c.py']\n['at', 'extglob', 'a b', 'cee.cc', 'cee.py']\n" Got "['a b', 'c']\n['star', 'glob', 'a b c*.py']\n"
[dash status] Expected 0, got 2

stdout:
['a b', 'c']
['star', 'glob', 'a b c*.py']
stderr:
dash: 1: shopt: not found
dash: 11: Syntax error: "(" unexpected
ash15 Extended glob in same word as array

[ash stdout] Expected "['a b', 'c']\n['star', 'glob', 'a b c.py']\n['star', 'extglob', 'a b c.cc', 'a b c.py']\n['at', 'extglob', 'a b', 'cee.cc', 'cee.py']\n" Got "['a b', 'c']\n['star', 'glob', 'a b c*.py']\n"
[ash status] Expected 0, got 2

stdout:
['a b', 'c']
['star', 'glob', 'a b c*.py']
stderr:
ash: shopt: not found
ash: syntax error: unexpected "("
zsh15 Extended glob in same word as array

[zsh stdout] Expected "['a b', 'c']\n['star', 'glob', 'a b c.py']\n['star', 'extglob', 'a b c.cc', 'a b c.py']\n['at', 'extglob', 'a b', 'cee.cc', 'cee.py']\n" Got "['a b', 'c']\n['star', 'glob', 'a b c.py']\n"
[zsh status] Expected 0, got 1

stdout:
['a b', 'c']
['star', 'glob', 'a b c.py']
stderr:
zsh: command not found: shopt
zsh: no matches found: a b c*@(.py|cc)
zsh: no matches found: c*@(.py|cc)
toysh15 Extended glob in same word as array

[toysh stdout] Expected "['a b', 'c']\n['star', 'glob', 'a b c.py']\n['star', 'extglob', 'a b c.cc', 'a b c.py']\n['at', 'extglob', 'a b', 'cee.cc', 'cee.py']\n" Got "['']\n['star', 'glob', 'bee.py', 'a b c.py', 'cee.py']\n['star', 'extglob', '*@(.py|cc)']\n['at', 'extglob', '*@(.py|cc)']\n"

stdout:
['']
['star', 'glob', 'bee.py', 'a b c.py', 'cee.py']
['star', 'extglob', '*@(.py|cc)']
['at', 'extglob', '*@(.py|cc)']
stderr:
sh: shopt: No such file or directory
set: bad --
sush15 Extended glob in same word as array

[sush stdout] Expected "['a b', 'c']\n['star', 'glob', 'a b c.py']\n['star', 'extglob', 'a b c.cc', 'a b c.py']\n['at', 'extglob', 'a b', 'cee.cc', 'cee.py']\n" Got "['a b', 'c']\n['star', 'glob', 'a b c.py']\n['star', 'extglob', 'a b c.cc', 'a b c.py']\n['at', 'extglob', 'a b', 'a b c.cc', 'a b c.py', 'bee.cc', 'bee.py', 'cee.cc', 'cee.py']\n"

stdout:
['a b', 'c']
['star', 'glob', 'a b c.py']
['star', 'extglob', 'a b c.cc', 'a b c.py']
['at', 'extglob', 'a b', 'a b c.cc', 'a b c.py', 'bee.cc', 'bee.py', 'cee.cc', 'cee.py']
stderr:
osh15 Extended glob in same word as array

stdout:
['a b', 'c']
['star', 'glob', 'a b c.py']
['star', 'extglob', 'a b c.cc', 'a b c.py']
stderr:
  argv.py at extglob "$@"*@(.py|cc)
                     ^
[ stdin ]:13: fatal: Extended globs and arrays can't appear in the same word
dash16 Extended glob with word splitting

[dash stdout] Expected "['a', 'bar.cc', 'bar.h']\n", got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 8: Syntax error: "(" unexpected
ash16 Extended glob with word splitting

[ash stdout] Expected "['a', 'bar.cc', 'bar.h']\n", got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh16 Extended glob with word splitting

[zsh stdout] Expected "['a', 'bar.cc', 'bar.h']\n", got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: a b*.@(cc|h)
toysh16 Extended glob with word splitting

[toysh stdout] Expected "['a', 'bar.cc', 'bar.h']\n", got "['a', 'b*.@(cc|h)']\n"

stdout:
['a', 'b*.@(cc|h)']
stderr:
sh: shopt: No such file or directory
osh16 Extended glob with word splitting

stdout:
['a b*.@(cc|h)']
stderr:
dash17 In Array Literal and for loop

[dash stdout] Expected 'bar.py\nfoo.py\n---\nzzz bar.py foo.py\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 5: Syntax error: "(" unexpected
ash17 In Array Literal and for loop

[ash stdout] Expected 'bar.py\nfoo.py\n---\nzzz bar.py foo.py\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh17 In Array Literal and for loop

[zsh stdout] Expected 'bar.py\nfoo.py\n---\nzzz bar.py foo.py\n', got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: @(fo*|bar).py
toysh17 In Array Literal and for loop

[toysh stdout] Expected 'bar.py\nfoo.py\n---\nzzz bar.py foo.py\n', got '@(fo*|bar).py\n---\n'
[toysh status] Expected 0, got 2

stdout:
@(fo*|bar).py
---
stderr:
sh: shopt: No such file or directory
main: line 11: sh: syntax error: zzz
dash18 No extended glob with simple_word_eval (Oil evaluation)

[dash status] Expected 1, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 2: shopt: not found
dash: 6: Syntax error: "(" unexpected
ash18 No extended glob with simple_word_eval (Oil evaluation)

[ash status] Expected 1, got 2

stdout:
stderr: 
ash: shopt: not found
ash: shopt: not found
ash: syntax error: unexpected "("
toysh18 No extended glob with simple_word_eval (Oil evaluation)

[toysh status] Expected 1, got 127

stdout:
stderr: 
sh: shopt: No such file or directory
sh: shopt: No such file or directory
sh: builtin: No such file or directory
sh: builtin: No such file or directory
dash19 no match

[dash stdout] Expected '@(__nope__)\n@(__nope__*|__nope__?|*|?|[:alpha:]||)\n' Got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 2: Syntax error: "(" unexpected
ash19 no match

[ash stdout] Expected '@(__nope__)\n@(__nope__*|__nope__?|*|?|[:alpha:]||)\n' Got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh19 no match

[zsh stdout] Expected '@(__nope__)\n@(__nope__*|__nope__?|*|?|[:alpha:]||)\n' Got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: unknown file attribute: _
sush19 no match

[sush stdout] Expected '@(__nope__)\n@(__nope__*|__nope__?|*|?|[:alpha:]||)\n' Got "@(__nope__)\n@(__nope__*|__nope__?|'*'|'?'|'[:alpha:]'|'|')\n"

stdout:
@(__nope__)
@(__nope__*|__nope__?|'*'|'?'|'[:alpha:]'|'|')
stderr:
bash20 dashglob

stdout:
-dash bar foo
-dash bar foo
stderr:
bash: line 8: shopt: dashglob: invalid shell option name
dash20 dashglob

[dash stdout] Expected '-dash bar foo\nbar foo\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 6: Syntax error: "(" unexpected
ash20 dashglob

[ash stdout] Expected '-dash bar foo\nbar foo\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
zsh20 dashglob

[zsh stdout] Expected '-dash bar foo\nbar foo\n', got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: @(*)
mksh20 dashglob

stdout:
-dash bar foo
-dash bar foo
stderr:
mksh: <stdin>[1]: shopt: not found
mksh: <stdin>[8]: shopt: not found
ksh20 dashglob

[ksh stdout] Expected '-dash bar foo\nbar foo\n', got '-dash bar foo\n-dash bar foo\n'

stdout:
-dash bar foo
-dash bar foo
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
E: ksh: <stdin>[8]: shopt: inaccessible or not found
toysh20 dashglob

[toysh stdout] Expected '-dash bar foo\nbar foo\n', got '@(*)\n@(*)\n'

stdout:
@(*)
@(*)
stderr:
sh: shopt: No such file or directory
sh: shopt: No such file or directory
sush20 dashglob

[sush stdout] Expected '-dash bar foo\nbar foo\n', got '-dash bar foo\n-dash bar foo\n'

stdout:
-dash bar foo
-dash bar foo
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: dashglob: invalid option name
brush20 dashglob

[brush stdout] Expected '-dash bar foo\nbar foo\n', got '-dash bar foo\n-dash bar foo\n'

stdout:
-dash bar foo
-dash bar foo
stderr:
shopt: dashglob: invalid shell option name
dash21 noglob

[dash stdout] Expected '@(*)\n@(__nope__*|__nope__?|*|?|[:alpha:]||)\n' Got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 6: Syntax error: "(" unexpected
ash21 noglob

[ash stdout] Expected '@(*)\n@(__nope__*|__nope__?|*|?|[:alpha:]||)\n' Got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: syntax error: unexpected "("
sush21 noglob

[sush stdout] Expected '@(*)\n@(__nope__*|__nope__?|*|?|[:alpha:]||)\n' Got "@(*)\n@(__nope__*|__nope__?|'*'|'?'|'[:alpha:]'|'|')\n"

stdout:
@(*)
@(__nope__*|__nope__?|'*'|'?'|'[:alpha:]'|'|')
stderr:
dash22 failglob

[dash stdout] Expected 'status=1\nfoo\nstatus=0\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 1: shopt: not found
dash: 7: shopt: not found
dash: 8: Syntax error: "(" unexpected
ash22 failglob

[ash stdout] Expected 'status=1\nfoo\nstatus=0\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: shopt: not found
ash: shopt: not found
ash: syntax error: unexpected "("
zsh22 failglob

[zsh stdout] Expected 'status=1\nfoo\nstatus=0\n', got ''
[zsh status] Expected 0, got 1

stdout:
stderr: 
zsh: command not found: shopt
zsh: no matches found: _failglob/*
zsh: command not found: shopt
zsh: no matches found: @(*)
mksh22 failglob

stdout:
@(*)
status=0
foo
status=0
stderr:
mksh: <stdin>[1]: shopt: not found
mksh: <stdin>[7]: shopt: not found
ksh22 failglob

[ksh stdout] Expected 'status=1\nfoo\nstatus=0\n', got '@(*)\nstatus=0\nfoo\nstatus=0\n'

stdout:
@(*)
status=0
foo
status=0
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
E: ksh: <stdin>[7]: shopt: inaccessible or not found
toysh22 failglob

[toysh stdout] Expected 'status=1\nfoo\nstatus=0\n', got '@(*)\nstatus=0\n@(*)\nstatus=0\n'

stdout:
@(*)
status=0
@(*)
status=0
stderr:
sh: shopt: No such file or directory
sh: shopt: No such file or directory
sush22 failglob

[sush stdout] Expected 'status=1\nfoo\nstatus=0\n', got '@(*)\nstatus=0\nfoo\nstatus=0\n'

stdout:
@(*)
status=0
foo
status=0
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: shopt: failglob: not supported yet
brush22 failglob

[brush stdout] Expected 'status=1\nfoo\nstatus=0\n', got '@(*)\nstatus=0\nfoo\nstatus=0\n'

stdout:
@(*)
status=0
foo
status=0
stderr: