status | bash | mksh | ksh | toysh | sush | brush | osh | |
pass | 0 | 5 | 5 | 0 | 0 | 3 | 5 | |
ok | 5 | 0 | 0 | 0 | 0 | 0 | 0 | |
FAIL | 0 | 0 | 0 | 5 | 5 | 2 | 0 | |
total | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
case | bash | mksh | ksh | toysh | sush | brush | osh | description |
0 | ok | pass | pass | FAIL | FAIL | FAIL | pass | Unrecoverable: divide by zero in redirect word |
details | details | details | details | |||||
1 | ok | pass | pass | FAIL | FAIL | pass | pass | Unrecoverable: divide by zero in conditional word |
details | details | details | ||||||
2 | ok | pass | pass | FAIL | FAIL | pass | pass | Unrecoverable: divide by zero in case |
details | details | details | ||||||
3 | ok | pass | pass | FAIL | FAIL | pass | pass | Unrecoverable: ${undef?message} |
details | details | details | ||||||
4 | ok | pass | pass | FAIL | FAIL | FAIL | pass | ${undef} with nounset |
details | details | details | details |
18 passed, 5 OK, 0 not implemented, 0 BUG, 12 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 ") |
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 ") |
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 ") |
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 |
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 |
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: |