65 passed, 9 OK, 21 not implemented, 4 BUG, 31 failed, 0 timeouts, 0 cases skipped
| dash | 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: |
| mksh | 0 File redirects with glob args (bash and zsh only) stdout: escapedstderr: |
| ksh | 0 File redirects with glob args (bash and zsh only) [ksh stdout] Expected 'hi\nescaped\n' Got 'escaped\n' 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 |
| dash | 2 ysh behavior when glob doesn't match [dash stdout] Expected '' Got 'status=0\nqq-*-zz\n' [dash status] Expected 1 Got 0 stdout: status=0 qq-*-zzstderr: dash: 1: shopt: not found |
| ash | 2 ysh behavior when glob doesn't match stdout: status=0 qq-*-zzstderr: ash: shopt: not found |
| mksh | 2 ysh behavior when glob doesn't match stdout: status=0 qq-*-zzstderr: mksh: <stdin>[1]: shopt: not found |
| ksh | 2 ysh behavior when glob doesn't match [ksh stdout] Expected '' Got 'status=0\nqq-*-zz\n' [ksh status] Expected 1 Got 0 stdout: status=0 qq-*-zzstderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
| toysh | 2 ysh behavior when glob doesn't match [toysh stdout] Expected '' Got 'status=0\nqq-*-zz\n' [toysh status] Expected 1 Got 0 stdout: status=0 qq-*-zzstderr: sh: shopt: No such file or directory |
| sush | 2 ysh behavior when glob doesn't match [sush stdout] Expected '' Got 'status=0\nqq-*-zz\n' [sush status] Expected 1 Got 0 stdout: status=0 qq-*-zzstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: shopt: ysh:upgrade: not supported yet |
| brush | 2 ysh behavior when glob doesn't match [brush stdout] Expected '' Got 'status=0\nqq-*-zz\n' [brush status] Expected 1 Got 0 stdout: status=0 qq-*-zzstderr: shopt: ysh:upgrade: invalid shell option name |
| dash | 3 File redirect without matching any file, with failglob [dash stdout] Expected 'status=1\nstatus=1\n' Got 'status=0\nzz-*-xx\nstatus=0\n' stdout: status=0 zz-*-xx status=0stderr: dash: 1: shopt: not found |
| ash | 3 File redirect without matching any file, with failglob stdout: status=0 zz-*-xx status=0stderr: ash: 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 |
| mksh | 3 File redirect without matching any file, with failglob stdout: status=0 zz-*-xx status=0stderr: mksh: <stdin>[1]: shopt: not found |
| ksh | 3 File redirect without matching any file, with failglob [ksh stdout] Expected 'status=1\nstatus=1\n' Got 'status=0\nzz-*-xx\nstatus=0\n' stdout: status=0 zz-*-xx status=0stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
| toysh | 3 File redirect without matching any file, with failglob [toysh stdout] Expected 'status=1\nstatus=1\n' Got 'status=0\nzz-*-xx\nstatus=0\n' stdout: status=0 zz-*-xx status=0stderr: sh: shopt: No such file or directory |
| sush | 3 File redirect without matching any file, with failglob [sush stdout] Expected 'status=1\nstatus=1\n' Got 'status=0\nzz-*-xx\nstatus=0\n' stdout: status=0 zz-*-xx status=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: shopt: failglob: not supported yet |
| brush | 3 File redirect without matching any file, with failglob [brush stdout] Expected 'status=1\nstatus=1\n' Got 'status=0\nzz-*-xx\nstatus=0\n' stdout: status=0 zz-*-xx status=0stderr: |
| dash | 4 Redirect to $empty (in function body) stdout: status=2stderr: dash: 2: cannot create : Directory nonexistent |
| dash | 5 Redirect to '' [dash stdout] Expected 'status=1\n' Got 'status=2\n' stdout: status=2stderr: dash: 1: cannot create : Directory nonexistent |
| dash | 6 File redirect to $var with glob char [dash stdout] Expected 'status=0\n==> two-bar <==\nhi\n' Got 'status=0\n==> two-bar <==\n\n==> two-* <==\nhi\n' [dash status] Expected 1 Got 0 stdout: status=0 ==> two-bar <== ==> two-* <== histderr: |
| ash | 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: |
| mksh | 6 File redirect to $var with glob char stdout: status=0 ==> two-bar <== ==> two-* <== histderr: |
| ksh | 6 File redirect to $var with glob char [ksh stdout] Expected 'status=0\n==> two-bar <==\nhi\n' Got 'status=0\n==> two-bar <==\n\n==> two-* <==\nhi\n' [ksh status] Expected 1 Got 0 stdout: status=0 ==> two-bar <== ==> two-* <== histderr: |
| brush | 6 File redirect to $var with glob char [brush status] Expected 1 Got 0 stdout: status=0 ==> two-bar <== histderr: head: cannot open 'two-*' for reading: No such file or directory |
| dash | 7 File redirect that globs to more than one file (bash and zsh only) stdout: status=0 ==> foo-bar <== ==> foo-spam <==stderr: |
| ash | 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: |
| mksh | 7 File redirect that globs to more than one file (bash and zsh only) stdout: status=0 ==> foo-bar <== ==> foo-spam <==stderr: |
| ksh | 7 File redirect that globs to more than one file (bash and zsh only) [ksh stdout] Expected 'status=1\n==> foo-bar <==\n\n==> foo-spam <==\n' Got 'status=0\n==> foo-bar <==\n\n==> foo-spam <==\n' stdout: status=0 ==> foo-bar <== ==> foo-spam <==stderr: |
| dash | 8 File redirect with extended glob stdout: stderr: dash: 1: shopt: not found
dash: 5: Syntax error: "(" unexpected
|
| ash | 8 File redirect with extended glob stdout: stderr: ash: shopt: not found
ash: syntax error: unexpected "("
|
| zsh | 8 File redirect with extended glob stdout: stderr: zsh: command not found: shopt zsh: no matches found: @(*-bar|other) |
| mksh | 8 File redirect with extended glob stdout: status=0stderr: mksh: <stdin>[1]: shopt: not found |
| ksh | 8 File redirect with extended glob [ksh stdout] Expected 'status=0\nhi\n' Got 'status=0\n' stdout: status=0stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
| toysh | 8 File redirect with extended glob [toysh stdout] Expected 'status=0\nhi\n' Got 'status=0\n' stdout: status=0stderr: sh: shopt: No such file or directory |
| dash | 9 Extended glob that doesn't match anything [dash stdout] Expected 'status=0\nbad_@(*.cc|*.h)\nstatus=1\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: shopt: not found
rm: cannot remove 'bad_*': No such file or directory
dash: 4: Syntax error: "(" unexpected
|
| 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 "("
|
| 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) |
| 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 |
| ksh | 9 Extended glob that doesn't match anything [ksh stdout] Expected 'status=0\nbad_@(*.cc|*.h)\nstatus=1\n' Got 'status=0\nbad_@(*.cc|*.h)\nstatus=0\n' stdout: status=0 bad_@(*.cc|*.h) status=0stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found rm: cannot remove 'bad_*': No such file or directory E: ksh: <stdin>[9]: shopt: inaccessible or not found |
| toysh | 9 Extended glob that doesn't match anything [toysh stdout] Expected 'status=0\nbad_@(*.cc|*.h)\nstatus=1\n' Got 'status=0\nbad_@(*.cc|*.h)\nstatus=0\n' stdout: status=0 bad_@(*.cc|*.h) status=0stderr: sh: shopt: No such file or directory rm: cannot remove 'bad_*': No such file or directory sh: shopt: No such file or directory |
| sush | 9 Extended glob that doesn't match anything [sush stdout] Expected 'status=0\nbad_@(*.cc|*.h)\nstatus=1\n' Got 'status=0\nbad_@(*.cc|*.h)\nstatus=0\n' stdout: status=0 bad_@(*.cc|*.h) status=0stderr: rm: cannot remove 'bad_*': No such file or directory /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 9: shopt: failglob: not supported yet |
| brush | 9 Extended glob that doesn't match anything [brush stdout] Expected 'status=0\nbad_@(*.cc|*.h)\nstatus=1\n' Got 'status=0\nbad_@(*.cc|*.h)\nstatus=0\n' stdout: status=0 bad_@(*.cc|*.h) status=0stderr: rm: cannot remove 'bad_*': No such file or directory |
| bash | 10 Non-file redirects don't respect glob args (we differe from bash) stdout: should-not-be-on-stdout stdoutstderr: stderr |
| dash | 10 Non-file redirects don't respect glob args (we differe from bash) stdout: stderr: dash: 3: exec: 10: not found |
| zsh | 10 Non-file redirects don't respect glob args (we differe from bash) stdout: stderr: zsh: command not found: 10 |
| ksh | 10 Non-file redirects don't respect glob args (we differe from bash) [ksh stdout] Expected 'stdout\n' Got '' [ksh status] Expected 0 Got 127 stdout: stderr: E: ksh: <stdin>[3]: 10: inaccessible or not found |
| toysh | 10 Non-file redirects don't respect glob args (we differe from bash) [toysh stdout] Expected 'stdout\n' Got 'should-not-be-on-stdout\nstdout\n' stdout: should-not-be-on-stdout stdoutstderr: stderr |
| sush | 10 Non-file redirects don't respect glob args (we differe from bash) [sush stdout] Expected 'stdout\n' Got 'should-not-be-on-stdout\nstdout\n' stdout: should-not-be-on-stdout stdoutstderr: stderr |
| brush | 10 Non-file redirects don't respect glob args (we differe from bash) [brush stdout] Expected 'stdout\n' Got 'should-not-be-on-stdout\nstdout\n' stdout: should-not-be-on-stdout stdoutstderr: stderr |
| dash | 11 Redirect with brace expansion isn't allowed [dash stdout] Expected 'status=1\nstatus=1\n' Got 'status=0\nhi\nstatus=0\n' stdout: status=0 hi status=0stderr: |
| ash | 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: |
| mksh | 11 Redirect with brace expansion isn't allowed stdout: status=0 hi status=0stderr: |
| ksh | 11 Redirect with brace expansion isn't allowed [ksh stdout] Expected 'status=1\nstatus=1\n' Got 'status=0\nhi\nstatus=0\n' stdout: status=0 hi status=0stderr: |
| dash | 12 File redirects have word splitting too! [dash stdout] Expected 'status=1\nstatus=1\n' Got 'status=0\nhi\nstatus=0\n' stdout: status=0 hi status=0stderr: |
| ash | 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: |
| mksh | 12 File redirects have word splitting too! stdout: status=0 hi status=0stderr: |
| ksh | 12 File redirects have word splitting too! [ksh stdout] Expected 'status=1\nstatus=1\n' Got 'status=0\nhi\nstatus=0\n' stdout: status=0 hi status=0stderr: |