redirect-command () { run-file redirect-command "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" }
spec test index / oilshell.org
82 passed, 1 OK, 4 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 1 $(< $file) yields the contents of the file stdout: stderr: |
bash | 8 Redirect in assignment stdout: FILE= FOO=stderr: foo |
dash | 10 Redirect in function body is evaluated multiple times stdout: stderr: dash: 2: arithmetic expression: expecting primary: "i++" |
dash | 12 redirect bash extensions: [[ (( for (( stdout: stderr: |
mksh | 12 redirect bash extensions: [[ (( for (( stdout: stderr: |
mksh | 18 Prefix redirect for loop -- not allowed stdout: stderr: mksh: <stdin>[1]: for: not found mksh: <stdin>[2]: syntax error: 'do' unexpected |