Results for fatal-errors.test.sh

statusbashmkshkshtoyshsushbrushosh
pass 0550035
ok 5000000
FAIL 0005520
total5555555
casebashmkshkshtoyshsushbrushoshdescription
0ok pass pass FAIL FAIL FAIL pass Unrecoverable: divide by zero in redirect word
detailsdetailsdetailsdetails
1ok pass pass FAIL FAIL pass pass Unrecoverable: divide by zero in conditional word
detailsdetailsdetails
2ok pass pass FAIL FAIL pass pass Unrecoverable: divide by zero in case
detailsdetailsdetails
3ok pass pass FAIL FAIL pass pass Unrecoverable: ${undef?message}
detailsdetailsdetails
4ok pass pass FAIL FAIL FAIL pass ${undef} with nounset
detailsdetailsdetailsdetails
18 passed, 5 OK, 0 not implemented, 0 BUG, 12 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 ")
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 ")
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 ")
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
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
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: