spec test index / oilshell.org
status | ysh | ysh-cpp | |
pass | 2 | 0 | |
FAIL | 1 | 3 | |
total | 3 | 3 | |
case | ysh | ysh-cpp | description |
0 | pass | FAIL | basic array |
details | |||
1 | pass | FAIL | string array with command sub, varsub, etc. |
details | |||
2 | FAIL | FAIL | printing type of array with pp and = |
details | details |
2 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
ysh-cpp | 0 basic array [ysh-cpp stdout] Expected 'len=3\n', got 'len=\n' stdout: len=stderr: |
ysh-cpp | 1 string array with command sub, varsub, etc. [ysh-cpp stdout] Expected 'len=4\n1\nhi\nsq\ndq 1\n', got 'len=\n' [ysh-cpp status] Expected 0, got 1 stdout: len=stderr: write @a ^~ [ stdin ]:6: fatal: Can't splice 'a' |
ysh | 2 printing type of array with pp and = [ysh stdout] Expected 'Array[Bool]\nArray[???] # what should this be?\n' Got "b = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[true]))\n(StrArray) ['true']\nempty = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[]))\n(StrArray) []\n" stdout: b = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[true])) (StrArray) ['true'] empty = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[])) (StrArray) []stderr: |
ysh-cpp | 2 printing type of array with pp and = [ysh-cpp stdout] Expected 'Array[Bool]\nArray[???] # what should this be?\n' Got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: pp cell b ^ [ stdin ]:2: Couldn't find a variable named 'b' pp cell b ^~ [ stdin ]:2: errexit PID 3520: Command failed with status 1 |