spec test index / oilshell.org
103 passed, 2 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh | 34 >| to clobber [osh stdout] Expected 'status=1\nXX\nZZ\n', got 'status=0\nYY\nZZ\n' stdout: status=0 YY ZZstderr: |
osh-cpp | 34 >| to clobber [osh-cpp stdout] Expected 'status=1\nXX\nZZ\n', got 'status=0\nYY\nZZ\n' stdout: status=0 YY ZZstderr: |
osh | 36 >&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-6573.txt'. Expected D, -, or D- where D is an integer grep: osh-6573.txt: No such file or directory grep: osh-6573.txt: No such file or directory |
osh-cpp | 36 >&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-6654.txt'. Expected D, -, or D- where D is an integer grep: osh-6654.txt: No such file or directory grep: osh-6654.txt: No such file or directory |
osh-cpp | 39 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 | 50 can't mention big file descriptor stdout: hi hi hi 100stderr: |
osh-cpp | 50 can't mention big file descriptor stdout: hi hi hi 100stderr: |