spec test index / oilshell.org
119 passed, 3 OK, 1 not implemented, 13 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
mksh | 1 Pattern replacement on unset variable stdout: -- status=0 --stderr: |
mksh | 7 Replace char class stdout: xx_xx_xx xx_xx_xxstderr: |
mksh | 11 Confusing unquoted slash matches bash (and ash) stdout: /_/ c_cstderr: |
zsh | 11 Confusing unquoted slash matches bash (and ash) stdout: /c//c_/c/ /_/stderr: |
mksh | 12 Synthesized ${x///} bug (similar to above) stdout: ambiguous: slash / brace } hi quoted: slash brace } histderr: |
zsh | 12 Synthesized ${x///} bug (similar to above) stdout: ambiguous: slash / brace } hi quoted: slash / brace } histderr: |
mksh | 15 Replace backslash stdout: [_] [_] [\_] [_]stderr: |
zsh | 15 Replace backslash stdout: [_] [_] [\_] [_]stderr: |
zsh | 17 Substitute glob characters in pattern, quoted and unquoted stdout: a-b a-bstderr: |
mksh | 18 Substitute one unicode character (UTF-8) stdout: _μ_ and _μ_ _μ_ and _μ_ _μ_ and _μ_stderr: |
osh | 19 Can't substitute one unicode character when LC_ALL=C [osh stdout] Expected '_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n' Got 'foo and foo\nfoo and _\xce\xbc_\n_\xce\xbc_ and foo\n' stdout: foo and foo foo and _μ_ _μ_ and foostderr: |
osh_ALT | 19 Can't substitute one unicode character when LC_ALL=C [osh_ALT stdout] Expected '_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n' Got 'foo and foo\nfoo and _\xce\xbc_\n_\xce\xbc_ and foo\n' stdout: foo and foo foo and _μ_ _μ_ and foostderr: |
mksh | 22 patsub with single quotes and hyphen in character class (regression) stdout: helloworldstderr: |
osh | 23 patsub with [^]] [osh stdout] Expected 'ab^cd^\n', got 'zzzzzz\n' stdout: zzzzzzstderr: |
osh_ALT | 23 patsub with [^]] [osh_ALT stdout] Expected 'ab^cd^\n', got 'zzzzzz\n' stdout: zzzzzzstderr: |
bash | 24 [a-z] Invalid range end is syntax error stdout: fooz status=0stderr: |
mksh | 24 [a-z] Invalid range end is syntax error stdout: fooz status=0stderr: |
zsh | 24 [a-z] Invalid range end is syntax error stdout: fooz status=0stderr: |
zsh | 25 Pattern is empty $foo$bar -- regression for infinite loop stdout: bar-barfbarobarobar-stderr: |
mksh | 26 Chromium from http://www.oilshell.org/blog/2016/11/07.html stdout: /foo/bar/baz \/foo\/bar\/bazstderr: |
zsh | 26 Chromium from http://www.oilshell.org/blog/2016/11/07.html stdout: stderr: |