spec test index / oilshell.org
49 passed, 0 OK, 0 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped 4 failed under osh
osh-cpp | 1 bad help topic [osh-cpp stdout] Expected 'help=1\ngrep=0\n', got 'TODO\nhelp=0\ngrep=1\n' stdout: TODO help=0 grep=1stderr: |
osh | 22 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-cpp | 22 mapfile (delimiter): -d delim [osh-cpp 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 | 23 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-cpp | 23 mapfile (delimiter): -d '' (null-separated) [osh-cpp 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 | 26 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-cpp | 26 mapfile (store position): -O start [osh-cpp 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 | 27 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-cpp | 27 mapfile (input range): -s start -n count [osh-cpp 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 |