spec test index / oilshell.org
70 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh-cpp | 11 osh -O oil:upgrade [osh-cpp stdout] Expected 'one\ntwo\nthree\n', got '' [osh-cpp status] Expected 0, got 1 stdout: stderr: var x = %(one two three); write @x ^~ [ -c flag ]:1: fatal: Can't splice 'x' |
osh-cpp | 23 parse_brace case [osh-cpp stdout] Expected 'python\nshell\npython\nshell\n', got '' [osh-cpp status] Expected 0, got 1 stdout: stderr: for name in "${files[@]}" ; do ^~~~~ [ stdin ]:4: fatal: Undefined array 'files' |
osh-cpp | 24 parse_paren: if statement [osh-cpp stdout] Expected 'less\nless\nother\n', got 'other\n' stdout: otherstderr: |
osh-cpp | 25 parse_paren: while statement [osh-cpp stdout] Expected '1\n2\ndone ksh\n1\n2\ndone sh\n1\n2\ndone oil\n', got '' [osh-cpp status] Expected 0, got 1 stdout: stderr: while (( x < 3 )) { ^ [ stdin ]:4: fatal: Undefined variable 'x' |
osh | 37 redefine_proc is on in interactive shell [osh stderr] Expected 'hi\n', got 'hi\n[??? no location ???] osh: Failed to move process group 6582 to foreground: No such process\n' stdout: common redefinitionstderr: hi [??? no location ???] osh: Failed to move process group 6582 to foreground: No such process |
osh-cpp | 37 redefine_proc is on in interactive shell [osh-cpp stderr] Expected 'hi\n', got 'hi\n[??? no location ???] osh: Failed to move process group 8919 to foreground: No such process\n' stdout: common redefinitionstderr: hi [??? no location ???] osh: Failed to move process group 8919 to foreground: No such process |
osh | 38 redefine_module is on in interactive shell [osh stdout] Expected 'common\ncommon\nstatus=0\n2 stderr.txt\n', got 'common\ncommon\nstatus=0\n3 stderr.txt\n' stdout: common common status=0 3 stderr.txtstderr: |
osh-cpp | 38 redefine_module is on in interactive shell [osh-cpp stdout] Expected 'common\ncommon\nstatus=0\n2 stderr.txt\n', got 'common\ncommon\nstatus=0\n3 stderr.txt\n' stdout: common common status=0 3 stderr.txtstderr: |