spec test index / oilshell.org
105 passed, 2 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh | 35 >| to clobber [osh stdout] Expected 'status=1\nXX\nZZ\n', got 'status=0\nYY\nZZ\n' stdout: status=0 YY ZZstderr: |
osh-cpp | 35 >| to clobber [osh-cpp stdout] Expected 'status=1\nXX\nZZ\n', got 'status=0\nYY\nZZ\n' stdout: status=0 YY ZZstderr: |
osh | 37 >&word redirects stdout and stderr when word is not a number or - [osh stdout] Expected 'STDOUT\nSTDERR\n', got '' [osh status] Expected 0, got 2 stdout: stderr: stdout_stderr.py >&$tmp ^~~~ [ stdin ]:5: Invalid descriptor 'osh-31585.txt'. Expected D, -, or D- where D is an integer grep: osh-31585.txt: No such file or directory grep: osh-31585.txt: No such file or directory |
osh-cpp | 37 >&word redirects stdout and stderr when word is not a number or - [osh-cpp stdout] Expected 'STDOUT\nSTDERR\n', got '' [osh-cpp status] Expected 0, got 2 stdout: stderr: stdout_stderr.py >&$tmp ^~~~ [ stdin ]:5: Invalid descriptor 'osh-31656.txt'. Expected D, -, or D- where D is an integer grep: osh-31656.txt: No such file or directory grep: osh-31656.txt: No such file or directory |
osh-cpp | 40 1>&2- (Bash bug: fail to restore closed fd) [osh-cpp status] Expected 2, got -6 stdout: stderr: Error closing descriptor 6: Bad file descriptor terminate called after throwing an instance of 'OSError*' timeout: the monitored command dumped core |
osh | 51 can't mention big file descriptor stdout: hi hi hi 100stderr: |
osh-cpp | 51 can't mention big file descriptor stdout: hi hi hi 100stderr: |