Results for fatal-errors.test.sh

statusbashdashashzshmkshkshtoyshsushbrushosh
pass 0002550035
ok 5530000000
BUG 0003000000
FAIL 0020005520
total5555555555
casebashdashashzshmkshkshtoyshsushbrushoshdescription
0ok ok ok pass pass pass FAIL FAIL FAIL pass Unrecoverable: divide by zero in redirect word
detailsdetailsdetailsdetailsdetailsdetails
1ok ok ok BUG pass pass FAIL FAIL pass pass Unrecoverable: divide by zero in conditional word
detailsdetailsdetailsdetailsdetailsdetails
2ok ok ok BUG pass pass FAIL FAIL pass pass Unrecoverable: divide by zero in case
detailsdetailsdetailsdetailsdetailsdetails
3ok ok FAIL pass pass pass FAIL FAIL pass pass Unrecoverable: ${undef?message}
detailsdetailsdetailsdetailsdetails
4ok ok FAIL BUG pass pass FAIL FAIL FAIL pass ${undef} with nounset
detailsdetailsdetailsdetailsdetailsdetailsdetails
20 passed, 13 OK, 0 not implemented, 3 BUG, 14 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

bash0 Unrecoverable: divide by zero in redirect word

stdout:
inside=1
outside=0
stderr:
bash: line 2: 42 / 0 : division by 0 (error token is "0 ")
dash0 Unrecoverable: divide by zero in redirect word

stdout:
outside=2
stderr:
dash: 2: arithmetic expression: division by zero: " 42 / 0 "
ash0 Unrecoverable: divide by zero in redirect word

stdout:
outside=2
stderr:
ash: divide by zero
toysh0 Unrecoverable: divide by zero in redirect word

[toysh stdout] Expected 'outside=1\n', got 'inside=1\noutside=0\n'

stdout:
inside=1
outside=0
stderr:
-c: line 2: sh: /0
-c: line 2: sh: bad math:  42 / 0  @ 9
sush0 Unrecoverable: divide by zero in redirect word

[sush stdout] Expected 'outside=1\n', got 'inside=1\noutside=0\n'

stdout:
inside=1
outside=0
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: 42 / 0 : division by 0 (error token is "0")
brush0 Unrecoverable: divide by zero in redirect word

[brush stdout] Expected 'outside=1\n', got 'inside=1\noutside=0\n'

stdout:
inside=1
outside=0
stderr:
error: arithmetic evaluation error: division by zero
bash1 Unrecoverable: divide by zero in conditional word

stdout:
inside=1
outside=0
---
inside=1
outside=0
stderr:
bash: line 2: 42 / 0 : division by 0 (error token is "0 ")
bash: line 2: 42 / 0 : division by 0 (error token is "0 ")
dash1 Unrecoverable: divide by zero in conditional word

stdout:
outside=2
---
outside=2
stderr:
dash: 2: arithmetic expression: division by zero: " 42 / 0 "
dash: 2: arithmetic expression: division by zero: " 42 / 0 "
ash1 Unrecoverable: divide by zero in conditional word

stdout:
outside=2
---
outside=2
stderr:
ash: divide by zero
ash: divide by zero
zsh1 Unrecoverable: divide by zero in conditional word

stdout:
outside=1
---
outside=0
stderr:
zsh:2: division by zero
zsh:2: division by zero
toysh1 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=0
stderr:
-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
sush1 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=0
stderr:
bash2 Unrecoverable: divide by zero in case

stdout:
inside=1
outside=0
---
inside=1
outside=0
stderr:
bash: line 2: 42 / 0 : division by 0 (error token is "0 ")
bash: line 2: 42 / 0 : division by 0 (error token is "0 ")
dash2 Unrecoverable: divide by zero in case

stdout:
outside=2
---
outside=2
stderr:
dash: 2: arithmetic expression: division by zero: " 42 / 0 "
dash: 2: arithmetic expression: division by zero: " 42 / 0 "
ash2 Unrecoverable: divide by zero in case

stdout:
outside=2
---
outside=2
stderr:
ash: divide by zero
ash: divide by zero
zsh2 Unrecoverable: divide by zero in case

stdout:
outside=0
---
outside=0
stderr:
zsh:2: division by zero
zsh:2: division by zero
toysh2 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=2
stderr:
-c: line 2: sh: syntax error: (
-c: line 2: sh: syntax error: (
sush2 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=0
stderr:
/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")
bash3 Unrecoverable: ${undef?message}

stdout:
outside=127
outside=127
stderr:
bash: line 2: undef: message
bash: line 2: undef: message
dash3 Unrecoverable: ${undef?message}

stdout:
outside=2
outside=2
stderr:
dash: 2: undef: message
dash: 2: undef: message
ash3 Unrecoverable: ${undef?message}

[ash stdout] Expected 'outside=1\noutside=1\n', got 'outside=2\noutside=2\n'

stdout:
outside=2
outside=2
stderr:
ash: undef: message
ash: undef: message
toysh3 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=2
stderr:
-c: line 2: sh: undef: message
-c: line 2: sh: syntax error: (
sush3 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=0
stderr:
/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
bash4 ${undef} with nounset

stdout:
outside=127
stderr:
bash: line 3: undef: unbound variable
dash4 ${undef} with nounset

stdout:
outside=2
stderr:
dash: 3: undef: parameter not set
ash4 ${undef} with nounset

[ash stdout] Expected 'outside=1\n', got 'outside=2\n'

stdout:
outside=2
stderr:
ash: undef: parameter not set
zsh4 ${undef} with nounset

stdout:
outside=0
stderr:
zsh:3: undef: parameter not set
toysh4 ${undef} with nounset

[toysh stdout] Expected 'outside=1\n', got 'outside=2\n'

stdout:
outside=2
stderr:
set: bad -o nounset
-c: line 3: sh: syntax error: (
sush4 ${undef} with nounset

[sush stdout] Expected 'outside=1\n', got 'hi\ninside=0\noutside=0\n'

stdout:
hi
inside=0
outside=0
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: set: nounset: invalid option name
brush4 ${undef} with nounset

[brush stdout] Expected 'outside=1\n', got 'hi\ninside=0\noutside=0\n'

stdout:
hi
inside=0
outside=0
stderr: