spec test index / oilshell.org
36 passed, 6 OK, 4 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 1 failed under osh
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: |
osh-cpp | 12 Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c) [osh-cpp stdout] Expected "['__|', 'foo']\n['__|', 'foo']\n", got "['foo']\n['foo']\n" stdout: ['foo'] ['foo']stderr: |
osh | 13 Extended glob syntax in bad redirect context stdout: stderr: rm: cannot remove 'bad_*': No such file or directory echo foo > bad_@(*.cc|*.h) ^~~~ [ stdin ]:4: fatal: extended glob not allowed in this word |
osh-cpp | 13 Extended glob syntax in bad redirect context stdout: stderr: rm: cannot remove 'bad_*': No such file or directory echo foo > bad_@(*.cc|*.h) ^~~~ [ stdin ]:4: fatal: extended glob not allowed in this word |
osh | 14 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 |
osh-cpp | 14 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 |
osh | 15 Extended glob in assignment builtin stdout: stderr: typeset -@(*.py) myvar ^ [ stdin ]:5: fatal: Extended glob not allowed in this word |
osh-cpp | 15 Extended glob in assignment builtin stdout: stderr: typeset -@(*.py) myvar ^ [ stdin ]:5: fatal: Extended glob not allowed in this word |
osh | 16 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 |
osh-cpp | 16 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 |
osh | 17 Extended glob with word splitting stdout: ['a b*.@(cc|h)']stderr: |
osh-cpp | 17 Extended glob with word splitting stdout: ['a b*.@(cc|h)']stderr: |