Results for fatal-errors.test.sh

statusdashbashmkshzshoshosh_ALT
pass 005255
ok 550000
BUG 000300
total555555
casedashbashmkshzshoshosh_ALTdescription
0ok ok pass pass pass pass Unrecoverable: divide by zero in redirect word
detailsdetails
1ok ok pass BUG pass pass Unrecoverable: divide by zero in conditional word
detailsdetailsdetails
2ok ok pass BUG pass pass Unrecoverable: divide by zero in case
detailsdetailsdetails
3ok ok pass pass pass pass Unrecoverable: ${undef?message}
detailsdetails
4ok ok pass BUG pass pass ${undef} with nounset
detailsdetailsdetails
17 passed, 10 OK, 0 not implemented, 3 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash0 Unrecoverable: divide by zero in redirect word

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

stdout:
inside=1
outside=0
stderr:
bash: line 1: 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 "
bash1 Unrecoverable: divide by zero in conditional word

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

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

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

stdout:
outside=0
---
outside=0
stderr:
zsh:2: division by zero
zsh:2: division by zero
dash3 Unrecoverable: ${undef?message}

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

stdout:
outside=127
outside=127
stderr:
bash: line 1: undef: message
bash: line 1: undef: message
dash4 ${undef} with nounset

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

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

stdout:
outside=0
stderr:
zsh:3: undef: parameter not set