57 passed, 2 OK, 7 not implemented, 2 BUG, 23 failed, 0 timeouts, 0 cases skipped
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: |
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 |
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 |
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: |
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 |
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: |
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 |
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 |
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 |
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: |
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: |