spec test index / oilshell.org
| status | ysh | |
| pass | 9 | |
| FAIL | 2 | |
| total | 11 | |
| case | ysh | description |
| 0 | pass | fastlex: NUL byte not allowed inside char literal #' ' |
| 1 | pass | fastlex: NUL byte inside shebang line |
| 2 | pass | Tea keywords don't interfere with YSH expressions |
| 3 | pass | Catch AttributeError |
| 4 | pass | Command sub paren parsing bug (#1387) |
| 5 | pass | More Command sub paren parsing |
| 6 | pass | don't execute empty command |
| 7 | FAIL | Do && || with YSH constructs make sense/ |
| details | ||
| 8 | pass | shvar then replace - bug #1986 context manager crash |
| 9 | pass | Parsing crash - bug #2003 |
| 10 | FAIL | proc with IFS= read -r line - dynamic scope - issue #2012 |
| details |
9 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
| ysh | 7 Do && || with YSH constructs make sense/ [ysh stdout] Expected '', got '(List) [42]\n(Int) 42\n(Int) 42\n' stdout: (List) [42] (Int) 42 (Int) 42stderr: |
| ysh | 10 proc with IFS= read -r line - dynamic scope - issue #2012 [ysh stdout] Expected 'zz\nyy\n', got 'zz\n' [ysh status] Expected 0, got 1 stdout: zzstderr: write $line
^~~~~
[ stdin ]:8: fatal: Undefined variable 'line'
echo yy | p-ifs
^~~~~
[ stdin ]:14: errexit PID 1632: command.Pipeline failed with status 1
|