113 passed, 4 OK, 5 not implemented, 1 BUG, 107 failed, 0 timeouts, 0 cases skipped 1 failed under osh
dash | 0 @() 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 |
ash | 0 @() 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 "(" |
zsh | 0 @() 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) |
toysh | 0 @() 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 |
dash | 1 ?() 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 |
ash | 1 ?() 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 "(" |
zsh | 1 ?() matches 0 or 1 [zsh stdout] Expected 'foo. foo.cc foo.h\n', got 'foo.hh\n' stdout: foo.hhstderr: zsh: command not found: shopt |
toysh | 1 ?() 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 |
dash | 2 *() 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 |
ash | 2 *() 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 "(" |
zsh | 2 *() 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/_TwoTwostderr: zsh: command not found: shopt |
toysh | 2 *() 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 |
dash | 3 +() 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 |
ash | 3 +() 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 "(" |
zsh | 3 +() 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) |
toysh | 3 +() 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 |
dash | 4 !(*.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 |
ash | 4 !(*.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 "(" |
zsh | 4 !(*.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) |
toysh | 4 !(*.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 |
brush | 4 !(*.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 |
dash | 5 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 |
ash | 5 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 "(" |
zsh | 5 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) |
toysh | 5 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 |
dash | 6 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 |
ash | 6 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 "(" |
zsh | 6 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)) |
toysh | 6 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 |
dash | 7 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 |
ash | 7 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 "(" |
zsh | 7 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) |
toysh | 7 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 |
brush | 7 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: |
dash | 8 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 |
ash | 8 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 "(" |
zsh | 8 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) |
toysh | 8 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 |
dash | 9 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 |
ash | 9 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 "(" |
zsh | 9 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) |
mksh | 9 nullglob with extended glob stdout: ['eg6/@(no|matches)'] ['eg6/@(no|matches)']stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[4]: shopt: not found |
ksh | 9 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 |
toysh | 9 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 |
dash | 10 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 |
ash | 10 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 "(" |
zsh | 10 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 `|' |
toysh | 10 Glob other punctuation chars (lexer mode) [toysh stdout] Expected "['__#', '__&&', '__<>', '__aa', '__{}']\n" Got "['@(__aa|__<>|__{}|__#|__&&|)']\n" stdout: ['@(__aa|__<>|__{}|__#|__&&|)']stderr: sh: shopt: No such file or directory |
sush | 10 Glob other punctuation chars (lexer mode) [sush stdout] Expected "['__#', '__&&', '__<>', '__aa', '__{}']\n" Got "['__#', '__&&', '__aa', '__{}']\n" stdout: ['__#', '__&&', '__aa', '__{}']stderr: |
dash | 11 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 |
ash | 11 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 "(" |
zsh | 11 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|_?|@(_[:]|_*)) |
toysh | 11 More glob escaping [toysh stdout] Expected "['_*', '_?', '_[:]']\n['_*', '_?', '_[:]']\n" Got "['@(_[:]|_*|_?)']\n['@(nested|_?|@(_[:]|_*))']\n" stdout: ['@(_[:]|_*|_?)'] ['@(nested|_?|@(_[:]|_*))']stderr: sh: shopt: No such file or directory |
sush | 11 More glob escaping [sush stdout] Expected "['_*', '_?', '_[:]']\n['_*', '_?', '_[:]']\n" Got '["@(\'_[:]\'|\'_*\'|\'_?\')"]\n["@(nested|\'_?\'|@(\'_[:]\'|\'_*\'))"]\n' stdout: ["@('_[:]'|'_*'|'_?')"] ["@(nested|'_?'|@('_[:]'|'_*'))"]stderr: |
dash | 12 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 |
ash | 12 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 "(" |
zsh | 12 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) |
toysh | 12 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 |
sush | 12 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: |
osh | 12 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: |
dash | 13 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).pystderr: dash: 1: shopt: not found |
ash | 13 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).pystderr: ash: shopt: not found |
zsh | 13 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.pystderr: zsh: command not found: shopt zsh: no matches found: @(foo|bar).py |
mksh | 13 Extended glob as argument to ${undef:-} (dynamic globbing) stdout: bar.py foo.py spam.py @(foo|bar).pystderr: mksh: <stdin>[1]: shopt: not found |
ksh | 13 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).pystderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
toysh | 13 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).pystderr: sh: shopt: No such file or directory |
osh | 13 Extended glob as argument to ${undef:-} (dynamic globbing) stdout: bar.py foo.py spam.pystderr: echo ${undef:-@(foo|bar).py} ^~ [ stdin ]:9: fatal: Extended glob not allowed in this word |
dash | 14 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 |
ash | 14 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 "(" |
zsh | 14 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 |
mksh | 14 Extended glob in assignment builtin stdout: status=1stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[5]: typeset: -@: unknown option |
ksh | 14 Extended glob in assignment builtin [ksh stdout] Expected 'status=2\n', got 'status=1\n' stdout: status=1stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[5]: typeset: -@: unknown option |
toysh | 14 Extended glob in assignment builtin [toysh stdout] Expected 'status=2\n', got 'status=127\n' stdout: status=127stderr: sh: shopt: No such file or directory sh: typeset: No such file or directory |
sush | 14 Extended glob in assignment builtin [sush stdout] Expected 'status=2\n', got 'status=1\n' stdout: status=1stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: -@: not found |
osh | 14 Extended glob in assignment builtin stdout: stderr: typeset -@(*.py) myvar ^ [ stdin ]:5: fatal: Extended glob not allowed in this word |
dash | 15 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 |
ash | 15 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 "(" |
zsh | 15 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) |
toysh | 15 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 -- |
sush | 15 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: |
osh | 15 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 |
dash | 16 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 |
ash | 16 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 "(" |
zsh | 16 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) |
toysh | 16 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 |
osh | 16 Extended glob with word splitting stdout: ['a b*.@(cc|h)']stderr: |
dash | 17 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 |
ash | 17 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 "(" |
zsh | 17 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 |
toysh | 17 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 |
dash | 18 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 |
ash | 18 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 "(" |
toysh | 18 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 |
dash | 19 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 |
ash | 19 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 "(" |
zsh | 19 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: _ |
sush | 19 no match [sush stdout] Expected '@(__nope__)\n@(__nope__*|__nope__?|*|?|[:alpha:]||)\n' Got "@(__nope__)\n@(__nope__*|__nope__?|'*'|'?'|'[:alpha:]'|'|')\n" stdout: @(__nope__) @(__nope__*|__nope__?|'*'|'?'|'[:alpha:]'|'|')stderr: |
bash | 20 dashglob stdout: -dash bar foo -dash bar foostderr: bash: line 8: shopt: dashglob: invalid shell option name |
dash | 20 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 |
ash | 20 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 "(" |
zsh | 20 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: @(*) |
mksh | 20 dashglob stdout: -dash bar foo -dash bar foostderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[8]: shopt: not found |
ksh | 20 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 foostderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[8]: shopt: inaccessible or not found |
toysh | 20 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 |
sush | 20 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 foostderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: dashglob: invalid option name |
brush | 20 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 foostderr: shopt: dashglob: invalid shell option name |
dash | 21 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 |
ash | 21 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 "(" |
sush | 21 noglob [sush stdout] Expected '@(*)\n@(__nope__*|__nope__?|*|?|[:alpha:]||)\n' Got "@(*)\n@(__nope__*|__nope__?|'*'|'?'|'[:alpha:]'|'|')\n" stdout: @(*) @(__nope__*|__nope__?|'*'|'?'|'[:alpha:]'|'|')stderr: |
dash | 22 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 |
ash | 22 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 "(" |
zsh | 22 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: @(*) |
mksh | 22 failglob stdout: @(*) status=0 foo status=0stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[7]: shopt: not found |
ksh | 22 failglob [ksh stdout] Expected 'status=1\nfoo\nstatus=0\n', got '@(*)\nstatus=0\nfoo\nstatus=0\n' stdout: @(*) status=0 foo status=0stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[7]: shopt: inaccessible or not found |
toysh | 22 failglob [toysh stdout] Expected 'status=1\nfoo\nstatus=0\n', got '@(*)\nstatus=0\n@(*)\nstatus=0\n' stdout: @(*) status=0 @(*) status=0stderr: sh: shopt: No such file or directory sh: shopt: No such file or directory |
sush | 22 failglob [sush stdout] Expected 'status=1\nfoo\nstatus=0\n', got '@(*)\nstatus=0\nfoo\nstatus=0\n' stdout: @(*) status=0 foo status=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: shopt: failglob: not supported yet |
brush | 22 failglob [brush stdout] Expected 'status=1\nfoo\nstatus=0\n', got '@(*)\nstatus=0\nfoo\nstatus=0\n' stdout: @(*) status=0 foo status=0stderr: |