status | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | |
pass | 4 | 0 | 0 | 4 | 4 | 4 | 0 | 0 | 4 | 4 | |
FAIL | 0 | 4 | 4 | 0 | 0 | 0 | 4 | 4 | 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 | FAIL | pass | pass | typeset -f prints function source code |
details | details | details | details | ||||||||
1 | pass | FAIL | FAIL | pass | pass | pass | FAIL | FAIL | pass | pass | typeset -f with function keyword (ksh style) |
details | details | details | details | ||||||||
2 | pass | FAIL | FAIL | pass | pass | pass | FAIL | FAIL | pass | pass | typeset -f prints function source code - nested functions |
details | details | details | details | ||||||||
3 | pass | FAIL | FAIL | pass | pass | pass | FAIL | FAIL | pass | pass | non-{ } function bodies can be serialized (rare) |
details | details | details | details |
24 passed, 0 OK, 0 not implemented, 0 BUG, 16 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: ; |
sush | 0 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: ; |
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: ; |
sush | 1 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: ; |
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: ; |
sush | 2 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: ; |
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: ; |
sush | 3 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: ; |