status | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | |
pass | 0 | 0 | 0 | 2 | 5 | 5 | 0 | 0 | 3 | 5 | |
ok | 5 | 5 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
BUG | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | |
FAIL | 0 | 0 | 2 | 0 | 0 | 0 | 5 | 5 | 2 | 0 | |
total | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
case | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | description |
0 | ok | ok | ok | pass | pass | pass | FAIL | FAIL | FAIL | pass | Unrecoverable: divide by zero in redirect word |
details | details | details | details | details | details | ||||||
1 | ok | ok | ok | BUG | pass | pass | FAIL | FAIL | pass | pass | Unrecoverable: divide by zero in conditional word |
details | details | details | details | details | details | ||||||
2 | ok | ok | ok | BUG | pass | pass | FAIL | FAIL | pass | pass | Unrecoverable: divide by zero in case |
details | details | details | details | details | details | ||||||
3 | ok | ok | FAIL | pass | pass | pass | FAIL | FAIL | pass | pass | Unrecoverable: ${undef?message} |
details | details | details | details | details | |||||||
4 | ok | ok | FAIL | BUG | pass | pass | FAIL | FAIL | FAIL | pass | ${undef} with nounset |
details | details | details | details | details | details | details |
20 passed, 13 OK, 0 not implemented, 3 BUG, 14 failed, 0 timeouts, 0 cases skipped
bash | 0 Unrecoverable: divide by zero in redirect word stdout: inside=1 outside=0stderr: bash: line 2: 42 / 0 : division by 0 (error token is "0 ") |
dash | 0 Unrecoverable: divide by zero in redirect word stdout: outside=2stderr: dash: 2: arithmetic expression: division by zero: " 42 / 0 " |
ash | 0 Unrecoverable: divide by zero in redirect word stdout: outside=2stderr: ash: divide by zero |
toysh | 0 Unrecoverable: divide by zero in redirect word [toysh stdout] Expected 'outside=1\n', got 'inside=1\noutside=0\n' stdout: inside=1 outside=0stderr: -c: line 2: sh: /0 -c: line 2: sh: bad math: 42 / 0 @ 9 |
sush | 0 Unrecoverable: divide by zero in redirect word [sush stdout] Expected 'outside=1\n', got 'inside=1\noutside=0\n' stdout: inside=1 outside=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: 42 / 0 : division by 0 (error token is "0") |
brush | 0 Unrecoverable: divide by zero in redirect word [brush stdout] Expected 'outside=1\n', got 'inside=1\noutside=0\n' stdout: inside=1 outside=0stderr: error: arithmetic evaluation error: division by zero |
bash | 1 Unrecoverable: divide by zero in conditional word stdout: inside=1 outside=0 --- inside=1 outside=0stderr: bash: line 2: 42 / 0 : division by 0 (error token is "0 ") bash: line 2: 42 / 0 : division by 0 (error token is "0 ") |
dash | 1 Unrecoverable: divide by zero in conditional word stdout: outside=2 --- outside=2stderr: dash: 2: arithmetic expression: division by zero: " 42 / 0 " dash: 2: arithmetic expression: division by zero: " 42 / 0 " |
ash | 1 Unrecoverable: divide by zero in conditional word stdout: outside=2 --- outside=2stderr: ash: divide by zero ash: divide by zero |
zsh | 1 Unrecoverable: divide by zero in conditional word stdout: outside=1 --- outside=0stderr: zsh:2: division by zero zsh:2: division by zero |
toysh | 1 Unrecoverable: divide by zero in conditional word [toysh stdout] Expected 'outside=1\n---\noutside=1\n', got 'false\ninside=0\noutside=0\n---\ninside=0\noutside=0\n' stdout: false inside=0 outside=0 --- inside=0 outside=0stderr: -c: line 2: sh: /0 -c: line 2: sh: bad math: 42 / 0 @ 9 -c: line 2: sh: /0 -c: line 2: sh: bad math: 42 / 0 @ 9 |
sush | 1 Unrecoverable: divide by zero in conditional word [sush stdout] Expected 'outside=1\n---\noutside=1\n', got 'inside=1\noutside=0\n---\ninside=1\noutside=0\n' stdout: inside=1 outside=0 --- inside=1 outside=0stderr: |
bash | 2 Unrecoverable: divide by zero in case stdout: inside=1 outside=0 --- inside=1 outside=0stderr: bash: line 2: 42 / 0 : division by 0 (error token is "0 ") bash: line 2: 42 / 0 : division by 0 (error token is "0 ") |
dash | 2 Unrecoverable: divide by zero in case stdout: outside=2 --- outside=2stderr: dash: 2: arithmetic expression: division by zero: " 42 / 0 " dash: 2: arithmetic expression: division by zero: " 42 / 0 " |
ash | 2 Unrecoverable: divide by zero in case stdout: outside=2 --- outside=2stderr: ash: divide by zero ash: divide by zero |
zsh | 2 Unrecoverable: divide by zero in case stdout: outside=0 --- outside=0stderr: zsh:2: division by zero zsh:2: division by zero |
toysh | 2 Unrecoverable: divide by zero in case [toysh stdout] Expected 'outside=1\n---\noutside=1\n', got 'outside=2\n---\noutside=2\n' stdout: outside=2 --- outside=2stderr: -c: line 2: sh: syntax error: ( -c: line 2: sh: syntax error: ( |
sush | 2 Unrecoverable: divide by zero in case [sush stdout] Expected 'outside=1\n---\noutside=1\n', got 'hi\ninside=0\noutside=0\n---\ninside=1\noutside=0\n' stdout: hi inside=0 outside=0 --- inside=1 outside=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: 42 / 0 : division by 0 (error token is "0") /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: 42 / 0 : division by 0 (error token is "0") |
bash | 3 Unrecoverable: ${undef?message} stdout: outside=127 outside=127stderr: bash: line 2: undef: message bash: line 2: undef: message |
dash | 3 Unrecoverable: ${undef?message} stdout: outside=2 outside=2stderr: dash: 2: undef: message dash: 2: undef: message |
ash | 3 Unrecoverable: ${undef?message} [ash stdout] Expected 'outside=1\noutside=1\n', got 'outside=2\noutside=2\n' stdout: outside=2 outside=2stderr: ash: undef: message ash: undef: message |
toysh | 3 Unrecoverable: ${undef?message} [toysh stdout] Expected 'outside=1\noutside=1\n', got 'inside=1\noutside=0\noutside=2\n' stdout: inside=1 outside=0 outside=2stderr: -c: line 2: sh: undef: message -c: line 2: sh: syntax error: ( |
sush | 3 Unrecoverable: ${undef?message} [sush stdout] Expected 'outside=1\noutside=1\n', got 'inside=1\noutside=0\nhi\ninside=0\noutside=0\n' stdout: inside=1 outside=0 hi inside=0 outside=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: undef: message /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: undef: message |
bash | 4 ${undef} with nounset stdout: outside=127stderr: bash: line 3: undef: unbound variable |
dash | 4 ${undef} with nounset stdout: outside=2stderr: dash: 3: undef: parameter not set |
ash | 4 ${undef} with nounset [ash stdout] Expected 'outside=1\n', got 'outside=2\n' stdout: outside=2stderr: ash: undef: parameter not set |
zsh | 4 ${undef} with nounset stdout: outside=0stderr: zsh:3: undef: parameter not set |
toysh | 4 ${undef} with nounset [toysh stdout] Expected 'outside=1\n', got 'outside=2\n' stdout: outside=2stderr: set: bad -o nounset -c: line 3: sh: syntax error: ( |
sush | 4 ${undef} with nounset [sush stdout] Expected 'outside=1\n', got 'hi\ninside=0\noutside=0\n' stdout: hi inside=0 outside=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: set: nounset: invalid option name |
brush | 4 ${undef} with nounset [brush stdout] Expected 'outside=1\n', got 'hi\ninside=0\noutside=0\n' stdout: hi inside=0 outside=0stderr: |