0 | pass | pass | Env value doesn't persist |
1 | pass | pass | Env value with equals |
2 | pass | pass | Env binding can use preceding bindings, but not subsequent ones |
3 | pass | pass | Env value with two quotes |
4 | pass | pass | Env value with escaped < |
5 | pass | pass | FOO=foo echo [foo] |
6 | pass | pass | FOO=foo fun |
7 | pass | pass | Multiple temporary envs on the stack |
8 | pass | pass | Escaped = in command name |
9 | pass | pass | Env binding not allowed before compound command |
10 | pass | pass | Trying to run keyword 'for' |
11 | pass | pass | Empty env binding |
12 | pass | pass | Assignment doesn't do word splitting |
13 | pass | pass | Assignment doesn't do glob expansion |
14 | pass | pass | Env binding in readonly/declare is NOT exported! (pitfall) |
15 | pass | pass | assignments / array assignments not interpreted after 'echo' |
16 | pass | pass | dynamic local variables (and splitting) |
17 | pass | pass | readonly x= gives empty string (regression) |
18 | pass | pass | 'local x' does not set variable |
19 | pass | pass | 'local -a x' does not set variable |
20 | pass | pass | 'local x' and then array assignment |
21 | pass | pass | 'declare -A' and then dict assignment |
22 | pass | pass | declare in an if statement |
23 | pass | pass | Modify a temporary binding |
24 | pass | pass | Reveal existence of "temp frame" (All shells disagree here!!!) |
25 | pass | pass | Test above without 'local' (which is not POSIX) |
26 | pass | pass | Using ${x-default} after unsetting local shadowing a global |
27 | pass | pass | Using ${x-default} after unsetting a temp binding shadowing a global |
28 | pass | pass | static assignment doesn't split |
29 | pass | pass | aliased assignment doesn't split |
30 | pass | pass | assignment using dynamic keyword (splits in most shells, not in zsh/osh) |
31 | pass | pass | assignment using dynamic var names doesn't split |
32 | pass | pass | assign and glob |
33 | pass | pass | declare and glob |
34 | pass | pass | readonly $x where x='b c' |
35 | pass | pass | readonly a=(1 2) no_value c=(3 4) makes 'no_value' readonly |
36 | pass | pass | export a=1 no_value c=2 |
37 | pass | pass | local a=loc $var c=loc |
38 | FAIL | FAIL | redirect after assignment builtin (what's going on with dash/bash/mksh here?) |
| details | details | |
39 | FAIL | FAIL | redirect after command sub (like case above but without assignment builtin) |
| details | details | |
40 | pass | pass | redirect after bare assignment |
41 | ok | ok | redirect after declare -p |
| details | details | |
42 | pass | pass | declare -a arr does not remove existing arrays (OSH regression) |
43 | pass | pass | declare -A dict does not remove existing arrays (OSH regression) |