spec test index / oilshell.org
12 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 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 36861: command.Pipeline failed with status 1 |
ysh | 11 func call inside proc call - error message attribution [ysh stdout] Expected '', got " eval (ident([1,2,3]))\n ^\n[ -c flag ]:11: 'eval' got unexpected typed args\n eval (ident([1,2,3]))\n ^~~~\n[ -c flag ]:11: errexit PID 36869: command.Simple failed with status 2\n" stdout: eval (ident([1,2,3])) ^ [ -c flag ]:11: 'eval' got unexpected typed args eval (ident([1,2,3])) ^~~~ [ -c flag ]:11: errexit PID 36869: command.Simple failed with status 2stderr: |