spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 22 | 22 | |
total | 22 | 22 | |
case | osh | osh-cpp | description |
0 | pass | pass | >$file touches a file |
1 | pass | pass | $(< $file) yields the contents of the file |
2 | pass | pass | $(< file) with more statements |
3 | pass | pass | < file in pipeline and subshell doesn't work |
4 | pass | pass | Leading redirect in a simple command |
5 | pass | pass | Redirect in the middle of a simple command |
6 | pass | pass | Redirect in command sub |
7 | pass | pass | Redirect in the middle of two assignments |
8 | pass | pass | Redirect in assignment |
9 | pass | pass | Redirect in function body |
10 | pass | pass | Redirect in function body is evaluated multiple times |
11 | pass | pass | Redirect in function body AND function call |
12 | pass | pass | redirect bash extensions: [[ (( for (( |
13 | pass | pass | redirect if |
14 | pass | pass | redirect case |
15 | pass | pass | redirect while |
16 | pass | pass | redirect for loop |
17 | pass | pass | redirect subshell |
18 | pass | pass | Prefix redirect for loop -- not allowed |
19 | pass | pass | Brace group redirect |
20 | pass | pass | Redirect function stdout |
21 | pass | pass | Nested function stdout redirect |
44 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped