status | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | |
pass | 4 | 0 | 0 | 4 | 4 | 4 | 0 | 4 | 4 | 4 | |
FAIL | 0 | 4 | 4 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | |
total | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | |
case | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | description |
0 | pass | FAIL | FAIL | pass | pass | pass | FAIL | pass | pass | pass | typeset -f prints function source code |
details | details | details | |||||||||
1 | pass | FAIL | FAIL | pass | pass | pass | FAIL | pass | pass | pass | typeset -f with function keyword (ksh style) |
details | details | details | |||||||||
2 | pass | FAIL | FAIL | pass | pass | pass | FAIL | pass | pass | pass | typeset -f prints function source code - nested functions |
details | details | details | |||||||||
3 | pass | FAIL | FAIL | pass | pass | pass | FAIL | pass | pass | pass | non-{ } function bodies can be serialized (rare) |
details | details | details |
28 passed, 0 OK, 0 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped
dash | 0 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 |
ash | 0 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 ";" |
toysh | 0 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: ; |
dash | 1 typeset -f with function keyword (ksh style) [dash status] Expected 0 Got 2 stdout: serializedstderr: dash: 1: function: not found dash: 3: Syntax error: "}" unexpected |
ash | 1 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 ";" |
toysh | 1 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: ; |
dash | 2 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 |
ash | 2 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 ";" |
toysh | 2 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: ; |
dash | 3 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 |
ash | 3 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 ";" |
toysh | 3 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: ; |