202 passed, 1 OK, 8 not implemented, 6 BUG, 56 failed, 0 timeouts, 0 cases skipped 2 failed under osh
toysh | 3 1 char glob [toysh stdout] Expected 'bin\n', got '[b]in\n' stdout: [b]instderr: |
toysh | 7 glob can expand to command and arg [toysh stdout] Expected 'spec/testdata/echo.sz\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: spec/testdata/echo.sz: Permission denied |
toysh | 8 glob after var expansion [toysh stdout] Expected '_tmp/a.A _tmp/aa.A _tmp/b.B\n', got '_tmp/aa.A _tmp/a.A _tmp/b.B\n' stdout: _tmp/aa.A _tmp/a.A _tmp/b.Bstderr: |
sush | 12 no glob after ~ expansion [sush stdout] Expected '*/*.py\n', got '_tmp/*.py\n' stdout: _tmp/*.pystderr: |
toysh | 13 store literal globs in array then expand [toysh stdout] Expected '_tmp/a.A _tmp/aa.A _tmp/b.B\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 2: sh: syntax error: "_tmp/*.A" |
toysh | 14 glob inside array [toysh stdout] Expected '_tmp/a.A _tmp/aa.A _tmp/b.B\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 2: sh: syntax error: _tmp/*.A |
toysh | 15 glob with escaped - in char class [toysh stdout] Expected '_tmp/c.C _tmp/c.C _tmp/foo.-\n', got '_tmp/c.C _tmp/c.C\n' stdout: _tmp/c.C _tmp/c.Cstderr: |
sush | 15 glob with escaped - in char class [sush stdout] Expected '_tmp/c.C _tmp/c.C _tmp/foo.-\n', got '_tmp/c.C _tmp/c.C\n' stdout: _tmp/c.C _tmp/c.Cstderr: |
mksh | 16 glob with char class expression stdout: _tmp/*.[[:punct:]E]stderr: |
toysh | 16 glob with char class expression [toysh stdout] Expected '_tmp/e.E _tmp/foo.-\n', got '_tmp/*.[[:punct:]E]\n' stdout: _tmp/*.[[:punct:]E]stderr: |
bash | 19 : escaped stdout: _tmp/foo.- _tmp/foo.-stderr: |
mksh | 19 : escaped stdout: _tmp/*.[[:punct:]] _tmp/*.[[:punct:]]stderr: |
ksh | 19 : escaped [ksh stdout] Expected '_tmp/foo.- _tmp/*.[[:punct:]]\n', got '_tmp/foo.- _tmp/foo.-\n' stdout: _tmp/foo.- _tmp/foo.-stderr: |
toysh | 19 : escaped [toysh stdout] Expected '_tmp/foo.- _tmp/*.[[:punct:]]\n', got '_tmp/*.[[:punct:]] _tmp/*.[[:punct:]]\n' stdout: _tmp/*.[[:punct:]] _tmp/*.[[:punct:]]stderr: |
sush | 19 : escaped [sush stdout] Expected '_tmp/foo.- _tmp/*.[[:punct:]]\n', got '_tmp/foo.- _tmp/foo.-\n' stdout: _tmp/foo.- _tmp/foo.-stderr: |
toysh | 20 Glob after var manipulation [toysh stdout] Expected '_tmp/*.zzzZ _tmp/bar.zzz _tmp/foo.zzz\n', got '_tmp/*.zzzZ _tmp/foo.zzz _tmp/bar.zzz\n' stdout: _tmp/*.zzzZ _tmp/foo.zzz _tmp/bar.zzzstderr: |
toysh | 21 Glob after part joining [toysh stdout] Expected '_tmp/*.yy _tmp/bar.yyy _tmp/foo.yyy\n', got '_tmp/*.yy _tmp/foo.yyy _tmp/bar.yyy\n' stdout: _tmp/*.yy _tmp/foo.yyy _tmp/bar.yyystderr: |
toysh | 23 set -o noglob [toysh stdout] Expected '_tmp/spec-tmp/a.zz _tmp/spec-tmp/b.zz\n_tmp/spec-tmp/*.zz\n' Got '_tmp/spec-tmp/b.zz _tmp/spec-tmp/a.zz\n_tmp/spec-tmp/b.zz _tmp/spec-tmp/a.zz\n' stdout: _tmp/spec-tmp/b.zz _tmp/spec-tmp/a.zz _tmp/spec-tmp/b.zz _tmp/spec-tmp/a.zzstderr: set: bad -o noglob |
mksh | 25 shopt -s nullglob stdout: ['_tmp/spec-tmp/*.nonexistent'] ['_tmp/spec-tmp/*.nonexistent']stderr: mksh: <stdin>[2]: shopt: not found |
ksh | 25 shopt -s nullglob [ksh stdout] Expected "['_tmp/spec-tmp/*.nonexistent']\n[]\n", got "['_tmp/spec-tmp/*.nonexistent']\n['_tmp/spec-tmp/*.nonexistent']\n" stdout: ['_tmp/spec-tmp/*.nonexistent'] ['_tmp/spec-tmp/*.nonexistent']stderr: E: ksh: <stdin>[2]: shopt: inaccessible or not found |
toysh | 25 shopt -s nullglob [toysh stdout] Expected "['_tmp/spec-tmp/*.nonexistent']\n[]\n", got "['_tmp/spec-tmp/*.nonexistent']\n['_tmp/spec-tmp/*.nonexistent']\n" stdout: ['_tmp/spec-tmp/*.nonexistent'] ['_tmp/spec-tmp/*.nonexistent']stderr: sh: shopt: No such file or directory |
mksh | 26 shopt -s failglob in command context stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: mksh: <stdin>[2]: shopt: not found |
ksh | 26 shopt -s failglob in command context [ksh stdout] Expected "['*.ZZ']\nstatus=1\n", got "['*.ZZ']\n['*.ZZ']\nstatus=0\n" stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: E: ksh: <stdin>[2]: shopt: inaccessible or not found |
toysh | 26 shopt -s failglob in command context [toysh stdout] Expected "['*.ZZ']\nstatus=1\n", got "['*.ZZ']\n['*.ZZ']\nstatus=0\n" stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: sh: shopt: No such file or directory |
sush | 26 shopt -s failglob in command context [sush stdout] Expected "['*.ZZ']\nstatus=1\n", got "['*.ZZ']\n['*.ZZ']\nstatus=0\n" stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: shopt: failglob: not supported yet |
brush | 26 shopt -s failglob in command context [brush stdout] Expected "['*.ZZ']\nstatus=1\n", got "['*.ZZ']\n['*.ZZ']\nstatus=0\n" stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: |
mksh | 27 shopt -s failglob in loop context stdout: *.ZZ status=0 *.ZZ status=0stderr: mksh: <stdin>[3]: shopt: not found |
ksh | 27 shopt -s failglob in loop context [ksh stdout] Expected '*.ZZ\nstatus=0\nstatus=1\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' stdout: *.ZZ status=0 *.ZZ status=0stderr: E: ksh: <stdin>[3]: shopt: inaccessible or not found |
toysh | 27 shopt -s failglob in loop context [toysh stdout] Expected '*.ZZ\nstatus=0\nstatus=1\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' stdout: *.ZZ status=0 *.ZZ status=0stderr: sh: shopt: No such file or directory |
sush | 27 shopt -s failglob in loop context [sush stdout] Expected '*.ZZ\nstatus=0\nstatus=1\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' stdout: *.ZZ status=0 *.ZZ status=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: shopt: failglob: not supported yet |
brush | 27 shopt -s failglob in loop context [brush stdout] Expected '*.ZZ\nstatus=0\nstatus=1\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' stdout: *.ZZ status=0 *.ZZ status=0stderr: |
mksh | 28 shopt -s failglob in array literal context stdout: *.ZZ status=0stderr: mksh: <stdin>[3]: shopt: not found |
ksh | 28 shopt -s failglob in array literal context [ksh stdout] Expected '*.ZZ\nstatus=1\n', got '*.ZZ\nstatus=0\n' stdout: *.ZZ status=0stderr: E: ksh: <stdin>[3]: shopt: inaccessible or not found |
toysh | 28 shopt -s failglob in array literal context [toysh stdout] Expected '*.ZZ\nstatus=1\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: *.ZZ |
brush | 28 shopt -s failglob in array literal context [brush stdout] Expected '*.ZZ\nstatus=1\n', got '*.ZZ\nstatus=0\n' stdout: *.ZZ status=0stderr: |
mksh | 29 shopt -s failglob exits properly in command context with set -e stdout: ['*.ZZ']stderr: mksh: <stdin>[3]: shopt: not found |
ksh | 29 shopt -s failglob exits properly in command context with set -e [ksh status] Expected 1, got 127 stdout: ['*.ZZ']stderr: E: ksh: <stdin>[3]: shopt: inaccessible or not found |
toysh | 29 shopt -s failglob exits properly in command context with set -e [toysh stdout] Expected "['*.ZZ']\n", got "['*.ZZ']\n['*.ZZ']\nstatus=0\n" [toysh status] Expected 1, got 0 stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: set: bad -e sh: shopt: No such file or directory |
brush | 29 shopt -s failglob exits properly in command context with set -e [brush stdout] Expected "['*.ZZ']\n", got "['*.ZZ']\n['*.ZZ']\nstatus=0\n" [brush status] Expected 1, got 0 stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: |
mksh | 30 shopt -s failglob exits properly in loop context with set -e stdout: *.ZZ status=0stderr: mksh: <stdin>[5]: shopt: not found |
ksh | 30 shopt -s failglob exits properly in loop context with set -e [ksh status] Expected 1, got 127 stdout: *.ZZ status=0stderr: E: ksh: <stdin>[5]: shopt: inaccessible or not found |
toysh | 30 shopt -s failglob exits properly in loop context with set -e [toysh stdout] Expected '*.ZZ\nstatus=0\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' [toysh status] Expected 1, got 0 stdout: *.ZZ status=0 *.ZZ status=0stderr: set: bad -e sh: shopt: No such file or directory |
brush | 30 shopt -s failglob exits properly in loop context with set -e [brush stdout] Expected '*.ZZ\nstatus=0\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' [brush status] Expected 1, got 0 stdout: *.ZZ status=0 *.ZZ status=0stderr: |
mksh | 31 shopt -s failglob behavior on single line with semicolon stdout: *.ZZ status=0 *.ZZ status=0stderr: mksh: <stdin>[1]: shopt: not found |
ksh | 31 shopt -s failglob behavior on single line with semicolon [ksh stdout] Expected 'status=1\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' stdout: *.ZZ status=0 *.ZZ status=0stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
toysh | 31 shopt -s failglob behavior on single line with semicolon [toysh stdout] Expected 'status=1\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' stdout: *.ZZ status=0 *.ZZ status=0stderr: sh: shopt: No such file or directory |
sush | 31 shopt -s failglob behavior on single line with semicolon [sush stdout] Expected 'status=1\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' stdout: *.ZZ status=0 *.ZZ status=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: shopt: failglob: not supported yet |
brush | 31 shopt -s failglob behavior on single line with semicolon [brush stdout] Expected 'status=1\n', got '*.ZZ\nstatus=0\n*.ZZ\nstatus=0\n' stdout: *.ZZ status=0 *.ZZ status=0stderr: |
osh | 31 shopt -s failglob behavior on single line with semicolon stdout: status=1 status=1stderr: echo *.ZZ; echo status=$? # bash doesn't execute the second part! ^~~~ [ stdin ]:2: failglob: Pattern '*.ZZ' matched no files echo *.ZZ ^~~~ [ stdin ]:3: failglob: Pattern '*.ZZ' matched no files |
toysh | 32 Splitting/Globbing doesn't happen on local assignment [toysh stdout] Expected 'void *\n', got 'void\n' stdout: voidstderr: local: bad fastlex.so local: bad line_input.so local: bad fanos.so local: bad fastfunc.so local: bad NOTES-jshape.txt local: bad libc.so local: bad Python-2.7.13 local: bad shell.nix local: bad INSTALL-old.txt local: bad LICENSE.txt local: bad NOTES.txt local: bad oils-version.txt local: bad README-index.md local: bad local.sh local: bad renamed-tmp local: bad configure-test.sh local: bad INSTALL.txt local: bad README.md local: bad Z.txt local: bad _soil-jobs local: bad Rplots.pdf local: bad posix_.so local: bad TODO.txt local: bad build.ninja local: bad README-native.txt local: bad NINJA-config.sh |
toysh | 33 Glob of unescaped [[] and []] [toysh stdout] Expected '[ ]\n[ ]\n', got '[[z] []z]\n[[z] []z]\n' stdout: [[z] []z] [[z] []z]stderr: |
sush | 33 Glob of unescaped [[] and []] [sush stdout] Expected '[ ]\n[ ]\n', got '[ ]\n[ []z]\n' stdout: [ ] [ []z]stderr: |
brush | 33 Glob of unescaped [[] and []] [brush stdout] Expected '[ ]\n[ ]\n', got '[ []z]\n[ []z]\n' stdout: [ []z] [ []z]stderr: |
mksh | 34 Glob of negated unescaped [[] and []] stdout: _[^[z] _[^]z] _[^[z] _[^]z]stderr: |
ksh | 34 Glob of negated unescaped [[] and []] [ksh stdout] Expected '_G _G\n_G _G\n', got '_[^[z] _[^]z]\n_[^[z] _[^]z]\n' stdout: _[^[z] _[^]z] _[^[z] _[^]z]stderr: |
sush | 34 Glob of negated unescaped [[] and []] [sush stdout] Expected '_G _G\n_G _G\n', got '_G _G\n_G _[^]z]\n' stdout: _G _G _G _[^]z]stderr: |
brush | 34 Glob of negated unescaped [[] and []] [brush stdout] Expected '_G _G\n_G _G\n', got '_G _[^]z]\n_G _[^]z]\n' stdout: _G _[^]z] _G _[^]z]stderr: |
toysh | 35 PatSub of unescaped [[] and []] [toysh stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '[foo]\n[foo]\n[foo]\n[foo]\n' stdout: [foo] [foo] [foo] [foo]stderr: |
sush | 35 PatSub of unescaped [[] and []] [sush stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo]\n<foo]\n[foo]\n' stdout: <foo] [foo] <foo] [foo]stderr: |
brush | 35 PatSub of unescaped [[] and []] [brush stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n<foo]\n[foo]\n' stdout: <foo] <foo] [foo]stderr: [31mERROR[0m error: invalid regex: Parsing error at position 11: Invalid character class; expression: '(?ms)[\]z\]' |
osh | 35 PatSub of unescaped [[] and []] [osh stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo>\n[foo]\n[foo>\n' stdout: <foo] [foo> [foo] [foo>stderr: |
mksh | 36 PatSub of negated unescaped [[] and []] stdout: <foo] [foo> <foo]stderr: |
ksh | 36 PatSub of negated unescaped [[] and []] [ksh stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '<foo]\n[foo>\n<foo]\n' stdout: <foo] [foo> <foo]stderr: |
toysh | 36 PatSub of negated unescaped [[] and []] [toysh stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[foo]\n[foo]\n[foo]\n' stdout: [foo] [foo] [foo]stderr: |
sush | 36 PatSub of negated unescaped [[] and []] [sush stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n[foo]\n[<<<<\n' stdout: [<<<< [foo] [<<<<stderr: |
brush | 36 PatSub of negated unescaped [[] and []] [brush stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n[<<<<\n' stdout: [<<<< [<<<<stderr: [31mERROR[0m error: invalid regex: Parsing error at position 12: Invalid character class; expression: '(?ms)[^\]z\]' |
osh | 36 PatSub of negated unescaped [[] and []] [osh stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n>>>>]\n[foo]\n' stdout: [<<<< >>>>] [foo]stderr: |
mksh | 37 Glob unicode char stdout: __a__stderr: |
mksh | 38 dotglob (bash option that dashglob is roughly consistent with) stdout: other otherstderr: mksh: <stdin>[6]: shopt: not found |
ksh | 38 dotglob (bash option that dashglob is roughly consistent with) [ksh stdout] Expected 'other\n.foorc other\n', got 'other\nother\n' stdout: other otherstderr: E: ksh: <stdin>[6]: shopt: inaccessible or not found |
toysh | 38 dotglob (bash option that dashglob is roughly consistent with) [toysh stdout] Expected 'other\n.foorc other\n', got 'other\nother\n' stdout: other otherstderr: sh: shopt: No such file or directory |