spec test index / oilshell.org
61 passed, 0 OK, 0 not implemented, 0 BUG, 23 failed, 0 timeouts, 0 cases skipped 5 failed under osh
osh | 0 help [osh stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got " help\n ^~~~\n[ stdin ]:1: no help topics match 'help'\nstatus=1\n help help\n ^~~~\n[ stdin ]:3: no help topics match 'help'\nstatus=1\n help -- help\n ^~~~\n[ stdin ]:5: no help topics match 'help'\nstatus=1\n" stdout: stderr: help ^~~~ [ stdin ]:1: no help topics match 'help' status=1 help help ^~~~ [ stdin ]:3: no help topics match 'help' status=1 help -- help ^~~~ [ stdin ]:5: no help topics match 'help' status=1 |
osh_.py | 0 help [osh_.py stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got " help\n ^~~~\n[ stdin ]:1: no help topics match 'help'\nstatus=1\n help help\n ^~~~\n[ stdin ]:3: no help topics match 'help'\nstatus=1\n help -- help\n ^~~~\n[ stdin ]:5: no help topics match 'help'\nstatus=1\n" stdout: stderr: help ^~~~ [ stdin ]:1: no help topics match 'help' status=1 help help ^~~~ [ stdin ]:3: no help topics match 'help' status=1 help -- help ^~~~ [ stdin ]:5: no help topics match 'help' status=1 |
osh_.cc | 0 help [osh_.cc stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got "osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.\n" [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 1 bad help topic [osh_.cc stdout] Expected 'help=1\ngrep=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 8 type -t doesn't find non-executable (like command -v) [osh_.cc stdout] Expected u'', got 'file\n' [osh_.cc status] Expected 1, got 0 stdout: filestderr: dumb_alloc: gNumNew = 2282 gNumDelete = 179 gMemPos = 80784 gNumMalloc = 390 gNumFree = 0 gMemPos2 = 16592 |
osh_.cc | 18 mapfile [osh_.cc stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 19 readarray (synonym for mapfile) [osh_.cc stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 20 mapfile (array name): arr [osh_.cc stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh | 21 mapfile (delimiter): -d delim [osh stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got 'n=0\n[]\n' stdout: n=0 []stderr: mapfile -d : arr ^~ [ stdin ]:3: 'mapfile' doesn't accept flag -d |
osh_.py | 21 mapfile (delimiter): -d delim [osh_.py stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got 'n=0\n[]\n' stdout: n=0 []stderr: mapfile -d : arr ^~ [ stdin ]:3: 'mapfile' doesn't accept flag -d |
osh_.cc | 21 mapfile (delimiter): -d delim [osh_.cc stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh | 22 mapfile (delimiter): -d '' (null-separated) [osh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got 'n=0\n[]\n' stdout: n=0 []stderr: mapfile -d '' arr ^~ [ stdin ]:3: 'mapfile' doesn't accept flag -d |
osh_.py | 22 mapfile (delimiter): -d '' (null-separated) [osh_.py stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got 'n=0\n[]\n' stdout: n=0 []stderr: mapfile -d '' arr ^~ [ stdin ]:3: 'mapfile' doesn't accept flag -d |
osh_.cc | 22 mapfile (delimiter): -d '' (null-separated) [osh_.cc stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 23 mapfile (truncate delim): -t [osh_.cc stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 24 mapfile -t doesn't remove \r [osh_.cc stdout] Expected "['1\\r', '3\\r', '5\\r']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh | 25 mapfile (store position): -O start [osh stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got 'n=3\n[x]\n[y]\n[z]\n' stdout: n=3 [x] [y] [z]stderr: mapfile -O 2 -t arr ^~ [ stdin ]:4: 'mapfile' doesn't accept flag -O |
osh_.py | 25 mapfile (store position): -O start [osh_.py stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got 'n=3\n[x]\n[y]\n[z]\n' stdout: n=3 [x] [y] [z]stderr: mapfile -O 2 -t arr ^~ [ stdin ]:4: 'mapfile' doesn't accept flag -O |
osh_.cc | 25 mapfile (store position): -O start [osh_.cc stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh | 26 mapfile (input range): -s start -n count [osh stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got 'n=0\n[]\n' stdout: n=0 []stderr: mapfile -s 5 -n 3 -t arr ^~ [ stdin ]:3: 'mapfile' doesn't accept flag -s |
osh_.py | 26 mapfile (input range): -s start -n count [osh_.py stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got 'n=0\n[]\n' stdout: n=0 []stderr: mapfile -s 5 -n 3 -t arr ^~ [ stdin ]:3: 'mapfile' doesn't accept flag -s |
osh_.cc | 26 mapfile (input range): -s start -n count [osh_.cc stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 27 mapfile / readarray stdin TODO: Fix me. [osh_.cc stdout] Expected '2\n3\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |