spec test index / oilshell.org
| 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 known unimplemented, 2 known bugs, 1 failed, 0 skipped
| osh | 0 sh -i [osh stdout] Expected 'foo\n', got '[osh] lisa /home/andy/git/oilshell/oil$ foo\n[osh] lisa /home/andy/git/oilshell/oil$ ^D\n' [osh stderr] Expected '$ echo foo\n$ exit\n', got "usage error: 'shopt' Invalid option 'globstar'\n" stdout: [osh] lisa /home/andy/git/oilshell/oil$ foo [osh] lisa /home/andy/git/oilshell/oil$ ^Dstderr: usage error: 'shopt' Invalid option 'globstar' |
| bash | 10 Single backslash stdout: \stderr: |
| bash | 11 Escaped backslash stdout: \stderr: |