76 passed, 3 ok, 3 known unimplemented, 2 known bugs, 4 failed, 0 skipped
bash | 3 Redirect in assignment stdout: FILE= FOO=stderr: foo |
dash | 5 Redirect in function body is evaluated multiple times stdout: stderr: /bin/dash: 2: arithmetic expression: expecting primary: "i++" |
dash | 10 Descriptor redirect with filename stdout: stderr: /bin/dash: 2: Syntax error: Bad fd number |
bash | 10 Descriptor redirect with filename stdout: status=0stderr: |
osh | 10 Descriptor redirect with filename [osh stdout] Expected 'status=1\n', got 'one\nstatus=0\n' stdout: one status=0stderr: osh warning: Redirect descriptor should look like an integer, got (Str s:/home/andy/git/oil/test/../_tmp/spec-tmp/nonexistent-filename__) |
mksh | 13 Prefix redirect for loop -- not allowed stdout: stderr: /bin/mksh: <stdin>[1]: for: not found /bin/mksh: <stdin>[2]: syntax error: 'do' unexpected |
osh | 13 Prefix redirect for loop -- not allowed [osh status] Expected 2, got 127 stdout: stderr: Unexpected error in execvpe('for', ['for', 'i', 'in', '1', '2', '3'], ...): [Errno 2] No such file or directory |
dash | 18 Named file descriptor stdout: stderr: /bin/dash: 1: exec: {myfd}: not found |
mksh | 18 Named file descriptor stdout: stderr: /bin/mksh: <stdin>[1]: {myfd}: not found |
osh | 18 Named file descriptor [osh stdout] Expected 'named-fd-contents\n', got '' [osh status] Expected 0, got 127 stdout: stderr: Unexpected error in execvpe('{myfd}', ['{myfd}'], ...): [Errno 2] No such file or directory |
dash | 21 Redirect to empty string stdout: result=2stderr: /bin/dash: 2: cannot create : Directory nonexistent /bin/dash: 5: cannot create : Directory nonexistent |
osh | 21 Redirect to empty string [osh stdout] Expected 'result=1\n', got 's\nresult=0\ns\nDONE\n' [osh status] Expected 1, got 0 stdout: s result=0 s DONEstderr: osh warning: Redirect filename can't be empty osh warning: Redirect filename can't be empty |