| status | osh | osh-cpp | |
| pass | 7 | 2 | |
| FAIL | 0 | 5 | |
| total | 7 | 7 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | Conflict with extglob @( can be avoided with ,( |
| 1 | pass | FAIL | split command sub @() in expression mode |
| details | |||
| 2 | pass | FAIL | split command sub @() in command mode |
| details | |||
| 3 | pass | FAIL | @() decodes J8 Lines |
| details | |||
| 4 | pass | FAIL | for loop using @(seq $n) |
| details | |||
| 5 | pass | pass | @() can't start in the middle of the word |
| 6 | pass | FAIL | @() can't have any tokens after it |
| details |
9 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 1 split command sub @() in expression mode [osh-cpp stdout] Expected '1\n2\n3\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: var x = @(seq 3)
^
[ stdin ]:3: Invalid word while parsing command list
|
| osh-cpp | 2 split command sub @() in command mode [osh-cpp stdout] Expected "1\n2\n3\n--\n['a', 'b', '', 'c']\n--\n1\n2\n3\n--\n['axbxxc']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: write -- @(seq 3)
^
[ stdin ]:2: Invalid word while parsing command list
|
| osh-cpp | 3 @() decodes J8 Lines [osh-cpp stdout] Expected '[\n "unquoted \\"\\" word",\n " json \xce\xbc ",\n " json j prefix \xce\xbc ",\n " j8 u \xce\xbc ",\n " j8 b \xce\xbc ",\n " j8 no prefix \xce\xbc "\n]\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: ) ^ [ stdin ]:13: Unexpected EOF while parsing command |
| osh-cpp | 4 for loop using @(seq $n) [osh-cpp stdout] Expected "[1]\n[2]\n[3]\n['z']\n['z']\n['z']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: for x in @(seq 3) {
^
[ stdin ]:3: Invalid word while parsing command list
|
| osh-cpp | 6 @() can't have any tokens after it [osh-cpp stdout] Expected '1\n2\n' Got '' stdout: stderr: write -- @(seq 2)
^
[ stdin ]:3: Invalid word while parsing command list
|