66 passed, 2 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 19 Redirect to file descriptor that's not open [osh stdout] Expected u'', got "7\nFD 7 shouldn't be open\nOPENED:\n0\n1\n10\n11\n12\n2\n3\n4\n5\n7\n" stdout: 7 FD 7 shouldn't be open OPENED: 0 1 10 11 12 2 3 4 5 7stderr: F_GETFD fd 7: Bad file descriptor [ stdin ]:8: I/O error applying redirect: Bad file descriptor |
osh-cpp | 19 Redirect to file descriptor that's not open [osh-cpp stdout] Expected u'', got "7\nFD 7 shouldn't be open\nOPENED:\n0\n1\n10\n11\n12\n2\n3\n4\n5\n7\n" stdout: 7 FD 7 shouldn't be open OPENED: 0 1 10 11 12 2 3 4 5 7stderr: F_GETFD fd 7: Bad file descriptor [ stdin ]:8: I/O error applying redirect: Bad file descriptor |
osh | 24 >&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-21036.txt'. Expected D, -, or D- where D is an integer grep: osh-21036.txt: No such file or directory grep: osh-21036.txt: No such file or directory |
osh-cpp | 24 >&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-21048.txt'. Expected D, -, or D- where D is an integer grep: osh-21048.txt: No such file or directory grep: osh-21048.txt: No such file or directory |
osh | 27 1>&2- (Bash bug: fail to restore closed fd) [osh stdout] Expected u'', got "7\nFD 7 shouldn't be open\nOPENED:\n0\n1\n10\n11\n12\n2\n3\n4\n5\n7\n" stdout: 7 FD 7 shouldn't be open OPENED: 0 1 10 11 12 2 3 4 5 7stderr: Error closing descriptor 6: Bad file descriptor : 6>&7- ^ [ stdin ]:18: fatal: Fatal error popping redirect: Bad file descriptor |
osh-cpp | 27 1>&2- (Bash bug: fail to restore closed fd) [osh-cpp stdout] Expected u'', got "7\nFD 7 shouldn't be open\nOPENED:\n0\n1\n10\n11\n12\n2\n3\n4\n5\n7\n" stdout: 7 FD 7 shouldn't be open OPENED: 0 1 10 11 12 2 3 4 5 7stderr: Error closing descriptor 6: Bad file descriptor : 6>&7- ^ [ stdin ]:18: fatal: Fatal error popping redirect: Bad file descriptor |
osh | 32 can't mention big file descriptor stdout: hi hi hi 100stderr: |
osh-cpp | 32 can't mention big file descriptor stdout: hi hi hi 100stderr: |