spec test index / oilshell.org
28 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped 4 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_ALT | 7 Do && || with YSH constructs make sense/ [ysh_ALT stdout] Expected '', got '(List) [42]\n(Int) 42\n(Int) 42\n' stdout: (List) [42] (Int) 42 (Int) 42stderr: |
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 3057: 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 3057: command.Simple failed with status 2stderr: |
ysh_ALT | 11 func call inside proc call - error message attribution [ysh_ALT 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 3062: 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 3062: command.Simple failed with status 2stderr: |
ysh | 16 Another "stealing stdin" issue with spec tests [ysh stdout] Expected '(Str) "1"\n(Str) "2"\n(Str) "3"\n(Str) "4"\n(Str) "5"\n' Got '(Str) ""\n(Str) ""\n(Str) ""\n(Str) "1"\n(Str) "2"\n(Str) "3"\n(Str) "4"\n(Str) "5"\n' stdout: (Str) "" (Str) "" (Str) "" (Str) "1" (Str) "2" (Str) "3" (Str) "4" (Str) "5"stderr: |
ysh_ALT | 16 Another "stealing stdin" issue with spec tests [ysh_ALT stdout] Expected '(Str) "1"\n(Str) "2"\n(Str) "3"\n(Str) "4"\n(Str) "5"\n' Got '(Str) ""\n(Str) ""\n(Str) ""\n(Str) "1"\n(Str) "2"\n(Str) "3"\n(Str) "4"\n(Str) "5"\n' stdout: (Str) "" (Str) "" (Str) "" (Str) "1" (Str) "2" (Str) "3" (Str) "4" (Str) "5"stderr: |
ysh | 17 Long boolean flags can't have attached values [ysh stdout] Expected '', got 'hi\nhi\nhi\nhi\n\n"hi"\n"hi"\n"hi"\n"hi"\n' [ysh status] Expected 1, got 2 stdout: hi hi hi hi "hi" "hi" "hi" "hi"stderr: write --json=Talse hi ^~~~~ [ stdin ]:12: 'write' got invalid argument to boolean flag: 'Talse' write --json=Talse hi ^~~~~ [ stdin ]:12: errexit PID 3086: command.Simple failed with status 2 |
ysh_ALT | 17 Long boolean flags can't have attached values [ysh_ALT stdout] Expected '', got 'hi\nhi\nhi\nhi\n\n"hi"\n"hi"\n"hi"\n"hi"\n' [ysh_ALT status] Expected 1, got 2 stdout: hi hi hi hi "hi" "hi" "hi" "hi"stderr: write --json=Talse hi ^~~~~ [ stdin ]:12: 'write' got invalid argument to boolean flag: 'Talse' write --json=Talse hi ^~~~~ [ stdin ]:12: errexit PID 3089: command.Simple failed with status 2 |