Results for print-source-code.test.sh

statusbashdashashzshmkshkshtoyshsushbrushosh
pass 4004440044
FAIL 0440004400
total4444444444
casebashdashashzshmkshkshtoyshsushbrushoshdescription
0pass FAIL FAIL pass pass pass FAIL FAIL pass pass typeset -f prints function source code
detailsdetailsdetailsdetails
1pass FAIL FAIL pass pass pass FAIL FAIL pass pass typeset -f with function keyword (ksh style)
detailsdetailsdetailsdetails
2pass FAIL FAIL pass pass pass FAIL FAIL pass pass typeset -f prints function source code - nested functions
detailsdetailsdetailsdetails
3pass FAIL FAIL pass pass pass FAIL FAIL pass pass non-{ } function bodies can be serialized (rare)
detailsdetailsdetailsdetails
24 passed, 0 OK, 0 not implemented, 0 BUG, 16 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash0 typeset -f prints function source code

[dash stdout] Expected 'serialized\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 3: typeset: not found
dash: 1: Syntax error: ";" unexpected
ash0 typeset -f prints function source code

[ash stdout] Expected 'serialized\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: typeset: not found
ash: syntax error: unexpected ";"
toysh0 typeset -f prints function source code

[toysh stdout] Expected 'serialized\n', got ''
[toysh status] Expected 0, got 2

stdout:
stderr: 
sh: typeset: No such file or directory
-c: line 1: sh: syntax error: ;
sush0 typeset -f prints function source code

[sush stdout] Expected 'serialized\n', got ''
[sush status] Expected 0, got 2

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: ;
dash1 typeset -f with function keyword (ksh style)

[dash status] Expected 0, got 2

stdout:
serialized
stderr:
dash: 1: function: not found
dash: 3: Syntax error: "}" unexpected
ash1 typeset -f with function keyword (ksh style)

[ash stdout] Expected 'serialized\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: typeset: not found
ash: syntax error: unexpected ";"
toysh1 typeset -f with function keyword (ksh style)

[toysh stdout] Expected 'serialized\n', got ''
[toysh status] Expected 0, got 2

stdout:
stderr: 
sh: typeset: No such file or directory
-c: line 1: sh: syntax error: ;
sush1 typeset -f with function keyword (ksh style)

[sush stdout] Expected 'serialized\n', got ''
[sush status] Expected 0, got 2

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: ;
dash2 typeset -f prints function source code - nested functions

[dash stdout] Expected 'outer\ninner\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 8: typeset: not found
dash: 1: Syntax error: ";" unexpected
ash2 typeset -f prints function source code - nested functions

[ash stdout] Expected 'outer\ninner\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: typeset: not found
ash: syntax error: unexpected ";"
toysh2 typeset -f prints function source code - nested functions

[toysh stdout] Expected 'outer\ninner\n', got ''
[toysh status] Expected 0, got 2

stdout:
stderr: 
sh: typeset: No such file or directory
-c: line 1: sh: syntax error: ;
sush2 typeset -f prints function source code - nested functions

[sush stdout] Expected 'outer\ninner\n', got ''
[sush status] Expected 0, got 2

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: ;
dash3 non-{ } function bodies can be serialized (rare)

[dash stdout] Expected 'subshell body\n', got ''
[dash status] Expected 0, got 2

stdout:
stderr: 
dash: 3: typeset: not found
dash: 1: Syntax error: ";" unexpected
ash3 non-{ } function bodies can be serialized (rare)

[ash stdout] Expected 'subshell body\n', got ''
[ash status] Expected 0, got 2

stdout:
stderr: 
ash: typeset: not found
ash: syntax error: unexpected ";"
toysh3 non-{ } function bodies can be serialized (rare)

[toysh stdout] Expected 'subshell body\n', got ''
[toysh status] Expected 0, got 2

stdout:
stderr: 
sh: typeset: No such file or directory
-c: line 1: sh: syntax error: ;
sush3 non-{ } function bodies can be serialized (rare)

[sush stdout] Expected 'subshell body\n', got ''
[sush status] Expected 0, got 2

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: ;