spec test index / oilshell.org
| status | bash | osh | |
| pass | 17 | 18 | |
| BUG | 2 | 0 | |
| FAIL | 0 | 1 | |
| total | 19 | 19 | |
| case | bash | osh | description |
| 0 | pass | FAIL | sh -i |
| details | |||
| 1 | pass | pass | \[\] are non-printing |
| 2 | pass | pass | literal escapes |
| 3 | pass | pass | special case for $ |
| 4 | pass | pass | PS1 evaluation order |
| 5 | pass | pass | PS1 evaluation order 2 |
| 6 | pass | pass | \1004 |
| 7 | pass | pass | \001 octal literals are supported |
| 8 | pass | pass | \555 is beyond max octal byte of \377 and wrapped to m |
| 9 | pass | pass | \x55 hex literals not supported |
| 10 | BUG | pass | Single backslash |
| details | |||
| 11 | BUG | pass | Escaped backslash |
| details | |||
| 12 | pass | pass | \0001 octal literals are not supported |
| 13 | pass | pass | \u0001 unicode literals not supported |
| 14 | pass | pass | constant string |
| 15 | pass | pass | hostname |
| 16 | pass | pass | username |
| 17 | pass | pass | current working dir |
| 18 | pass | pass | \W is basename of working dir |
35 passed, 0 OK, 0 not implemented, 2 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| osh | 0 sh -i [osh stdout] Expected 'foo\n', got '$ foo\n$ ^D\n' [osh stderr] Expected '$ echo foo\n$ exit\n', got '' stdout: $ foo $ ^Dstderr: |
| bash | 10 Single backslash stdout: \stderr: |
| bash | 11 Escaped backslash stdout: \stderr: |