36 passed, 4 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh | 1 Cannot take length of substring slice stdout: stderr: echo ${#v:1:3} ^ [ stdin ]:2: Expected } after length expression |
osh-cpp | 1 Cannot take length of substring slice stdout: stderr: echo ${#v:1:3} ^ [ stdin ]:2: Expected } after length expression |
osh-cpp | 11 Slice string with invalid UTF-8 results in empty string and warning [osh-cpp stdout] Expected '--\n', got '' [osh-cpp stderr] Expected '[??? no location ???] warning: UTF-8 decode: Bad encoding at offset 0 in string of 6 bytes\n' Got "terminate called after throwing an instance of 'IndexError*'\ntimeout: the monitored command dumped core\n" [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh-cpp | 12 Slice string with invalid UTF-8 with strict_word_eval [osh-cpp status] Expected 1, got -6 stdout: slicestderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh-cpp | 15 Simple ${@:offset} [osh-cpp stdout] Expected "['SHELL', '4', '5', '6']\n['4', '5', '6']\n['5', '6']\n" Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh-cpp | 18 ${@:0:1} [osh-cpp stdout] Expected 'SHELL\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh | 20 ${array[@]:} vs ${array[@]: } - bash and zsh inconsistent stdout: ['1', '2', '3'] ['space', '1', '2', '3'] ['123'] ['space', '123']stderr: |
osh-cpp | 20 ${array[@]:} vs ${array[@]: } - bash and zsh inconsistent stdout: ['1', '2', '3'] ['space', '1', '2', '3'] ['123'] ['space', '123']stderr: |