22 passed, 1 OK, 24 not implemented, 0 BUG, 33 failed, 0 timeouts, 0 cases skipped
dash | 0 shopt -s nullglob stdout: ['_tmp/spec-tmp/*.nonexistent'] ['_tmp/spec-tmp/*.nonexistent']stderr: dash: 2: shopt: not found |
ash | 0 shopt -s nullglob stdout: ['_tmp/spec-tmp/*.nonexistent'] ['_tmp/spec-tmp/*.nonexistent']stderr: ash: shopt: not found |
zsh | 0 shopt -s nullglob [zsh stdout] Expected "['_tmp/spec-tmp/*.nonexistent']\n[]\n", got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: no matches found: _tmp/spec-tmp/*.nonexistent zsh: command not found: shopt zsh: no matches found: _tmp/spec-tmp/*.nonexistent |
mksh | 0 shopt -s nullglob stdout: ['_tmp/spec-tmp/*.nonexistent'] ['_tmp/spec-tmp/*.nonexistent']stderr: mksh: <stdin>[2]: shopt: not found |
ksh | 0 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 | 0 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 |
dash | 1 shopt -s failglob in command context stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: dash: 2: shopt: not found |
ash | 1 shopt -s failglob in command context stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: ash: shopt: not found |
zsh | 1 shopt -s failglob in command context [zsh stdout] Expected "['*.ZZ']\nstatus=1\n", got 'status=1\n' stdout: status=1stderr: zsh: no matches found: *.ZZ zsh: command not found: shopt zsh: no matches found: *.ZZ |
mksh | 1 shopt -s failglob in command context stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: mksh: <stdin>[2]: shopt: not found |
ksh | 1 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 | 1 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 | 1 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 | 1 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: |
dash | 2 shopt -s failglob in loop context stdout: *.ZZ status=0 *.ZZ status=0stderr: dash: 3: shopt: not found |
ash | 2 shopt -s failglob in loop context stdout: *.ZZ status=0 *.ZZ status=0stderr: ash: shopt: not found |
zsh | 2 shopt -s failglob in loop context [zsh stdout] Expected '*.ZZ\nstatus=0\nstatus=1\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: no matches found: *.ZZ |
mksh | 2 shopt -s failglob in loop context stdout: *.ZZ status=0 *.ZZ status=0stderr: mksh: <stdin>[3]: shopt: not found |
ksh | 2 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 | 2 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 | 2 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 | 2 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: |
dash | 3 shopt -s failglob in array literal context stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 3 shopt -s failglob in array literal context stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 3 shopt -s failglob in array literal context [zsh stdout] Expected '*.ZZ\nstatus=1\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: no matches found: *.ZZ |
mksh | 3 shopt -s failglob in array literal context stdout: *.ZZ status=0stderr: mksh: <stdin>[3]: shopt: not found |
ksh | 3 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 | 3 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 | 3 shopt -s failglob in array literal context [brush stdout] Expected '*.ZZ\nstatus=1\n', got '*.ZZ\nstatus=0\n' stdout: *.ZZ status=0stderr: |
dash | 4 shopt -s failglob exits properly in command context with set -e stdout: ['*.ZZ']stderr: dash: 3: shopt: not found |
ash | 4 shopt -s failglob exits properly in command context with set -e stdout: ['*.ZZ']stderr: ash: shopt: not found |
zsh | 4 shopt -s failglob exits properly in command context with set -e [zsh stdout] Expected "['*.ZZ']\n", got '' stdout: stderr: zsh: no matches found: *.ZZ |
mksh | 4 shopt -s failglob exits properly in command context with set -e stdout: ['*.ZZ']stderr: mksh: <stdin>[3]: shopt: not found |
ksh | 4 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 | 4 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 | 4 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: |
dash | 5 shopt -s failglob exits properly in loop context with set -e stdout: *.ZZ status=0stderr: dash: 5: shopt: not found |
ash | 5 shopt -s failglob exits properly in loop context with set -e stdout: *.ZZ status=0stderr: ash: shopt: not found |
zsh | 5 shopt -s failglob exits properly in loop context with set -e [zsh stdout] Expected '*.ZZ\nstatus=0\n', got '' stdout: stderr: zsh: no matches found: *.ZZ |
mksh | 5 shopt -s failglob exits properly in loop context with set -e stdout: *.ZZ status=0stderr: mksh: <stdin>[5]: shopt: not found |
ksh | 5 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 | 5 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 | 5 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: |
dash | 6 shopt -s failglob behavior on single line with semicolon stdout: *.ZZ status=0 *.ZZ status=0stderr: dash: 1: shopt: not found |
ash | 6 shopt -s failglob behavior on single line with semicolon stdout: *.ZZ status=0 *.ZZ status=0stderr: ash: shopt: not found |
zsh | 6 shopt -s failglob behavior on single line with semicolon [zsh stdout] Expected 'status=1\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: command not found: shopt zsh: no matches found: *.ZZ |
mksh | 6 shopt -s failglob behavior on single line with semicolon stdout: *.ZZ status=0 *.ZZ status=0stderr: mksh: <stdin>[1]: shopt: not found |
ksh | 6 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 | 6 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 | 6 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 | 6 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 | 6 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 |
dash | 7 dotglob (bash option that dashglob is roughly consistent with) stdout: other otherstderr: dash: 6: shopt: not found |
ash | 7 dotglob (bash option that dashglob is roughly consistent with) stdout: other otherstderr: ash: shopt: not found |
zsh | 7 dotglob (bash option that dashglob is roughly consistent with) [zsh stdout] Expected 'other\n.foorc other\n', got 'other\nother\n' stdout: other otherstderr: zsh: command not found: shopt |
mksh | 7 dotglob (bash option that dashglob is roughly consistent with) stdout: other otherstderr: mksh: <stdin>[6]: shopt: not found |
ksh | 7 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 | 7 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 |