redirect-multi () { run-file redirect-multi "$@" } 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
36 passed, 8 OK, 17 not implemented, 4 BUG, 0 failed, 0 timeouts, 0 cases skipped
| mksh | 0 File redirects with glob args (bash and zsh only) stdout: escapedstderr:  | 
| ash | 0 File redirects with glob args (bash and zsh only) stdout: escapedstderr:  | 
| zsh | 1 File redirect without matching any file stdout: stderr: zsh: no matches found: zz-*-xx  | 
| bash | 2 ysh behavior when glob doesn't match stdout: status=0 qq-*-zzstderr: bash: line 1: shopt: ysh:upgrade: invalid shell option name  | 
| mksh | 2 ysh behavior when glob doesn't match stdout: status=0 qq-*-zzstderr: mksh: <stdin>[1]: shopt: not found  | 
| ash | 2 ysh behavior when glob doesn't match stdout: status=0 qq-*-zzstderr: ash: shopt: not found  | 
| mksh | 3 File redirect without matching any file, with failglob stdout: status=0 zz-*-xx status=0stderr: mksh: <stdin>[1]: shopt: not found  | 
| zsh | 3 File redirect without matching any file, with failglob stdout: stderr: zsh: command not found: shopt zsh: no matches found: zz-*-xx  | 
| ash | 3 File redirect without matching any file, with failglob stdout: status=0 zz-*-xx status=0stderr: ash: shopt: not found  | 
| mksh | 6 File redirect to $var with glob char stdout: status=0 ==> two-bar <== ==> two-* <== histderr:  | 
| zsh | 6 File redirect to $var with glob char stdout: status=0 ==> two-bar <== ==> two-* <== histderr:  | 
| ash | 6 File redirect to $var with glob char stdout: status=0 ==> two-bar <== ==> two-* <== histderr:  | 
| mksh | 7 File redirect that globs to more than one file (bash and zsh only) stdout: status=0 ==> foo-bar <== ==> foo-spam <==stderr:  | 
| zsh | 7 File redirect that globs to more than one file (bash and zsh only) stdout: status=0 ==> foo-bar <== hi ==> foo-spam <== histderr:  | 
| ash | 7 File redirect that globs to more than one file (bash and zsh only) stdout: status=0 ==> foo-bar <== ==> foo-spam <==stderr:  | 
| mksh | 8 File redirect with extended glob stdout: status=0stderr: mksh: <stdin>[1]: shopt: not found  | 
| zsh | 8 File redirect with extended glob stdout: stderr: zsh: command not found: shopt zsh: no matches found: @(*-bar|other)  | 
| ash | 8 File redirect with extended glob stdout: stderr: ash: shopt: not found
ash: syntax error: unexpected "("
 | 
| mksh | 9 Extended glob that doesn't match anything stdout: status=0 bad_@(*.cc|*.h) status=0stderr: mksh: <stdin>[1]: shopt: not found rm: cannot remove 'bad_*': No such file or directory mksh: <stdin>[9]: shopt: not found  | 
| zsh | 9 Extended glob that doesn't match anything stdout: stderr: zsh: command not found: shopt zsh: no matches found: bad_* zsh: no matches found: bad_@(*.cc|*.h)  | 
| ash | 9 Extended glob that doesn't match anything stdout: stderr: ash: shopt: not found
rm: cannot remove 'bad_*': No such file or directory
ash: syntax error: unexpected "("
 | 
| bash | 10 Non-file redirects don't respect glob args (we differe from bash) stdout: should-not-be-on-stdout stdoutstderr: stderr  | 
| zsh | 10 Non-file redirects don't respect glob args (we differe from bash) stdout: stderr: zsh: command not found: 10  | 
| mksh | 11 Redirect with brace expansion isn't allowed stdout: status=0 hi status=0stderr:  | 
| zsh | 11 Redirect with brace expansion isn't allowed stdout: status=0 ==> a-one <== hi ==> a-two <== hi status=0stderr:  | 
| ash | 11 Redirect with brace expansion isn't allowed stdout: status=0 hi status=0stderr:  | 
| mksh | 12 File redirects have word splitting too! stdout: status=0 hi status=0stderr:  | 
| zsh | 12 File redirects have word splitting too! stdout: status=0 hi status=0stderr:  | 
| ash | 12 File redirects have word splitting too! stdout: status=0 hi status=0stderr:  |