36 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh-cpp | 1 $(< $file) yields the contents of the file [osh-cpp stdout] Expected 'FOO\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 | 2 $(< file) with more statements [osh-cpp stdout] Expected 'begin\n---\nend\n---\n\n---\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 | 6 Redirect in command sub [osh stderr] Expected 'foo\n', got '' stdout: stderr: |
osh-cpp | 6 Redirect in command sub [osh-cpp stdout] Expected '\n', got '' [osh-cpp stderr] Expected 'foo\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 | 8 Redirect in assignment [osh stdout] Expected 'FILE=\nfoo\nFOO=\n', got 'FILE=\nFOO=\n' stdout: FILE= FOO=stderr: |
osh-cpp | 8 Redirect in assignment [osh-cpp stdout] Expected 'FILE=\nfoo\nFOO=\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: timeout: the monitored command dumped core |
osh-cpp | 16 redirect for loop [osh-cpp stdout] Expected '1\n2\n3\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 Prefix redirect for loop -- not allowed [osh-cpp status] Expected 2, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |