1 # first try some invalid patterns (do in subshell due to parsing error)
10 hush -c 'set --; echo _${1=}'
11 hush -c 'set --; echo _${1:=}'
12 hush -c 'set --; echo _${1=word}'
13 hush -c 'set --; echo _${1:=word}'
16 hush -c 'set aa; echo _${1=}'
17 hush -c 'set aa; echo _${1:=}'
18 hush -c 'set aa; echo _${1=word}'
19 hush -c 'set aa; echo _${1:=word}'
25 unset f; echo _${f=word}
26 unset f; echo _${f:=word}
37 f=fff; echo _${f=word}
38 f=fff; echo _${f:=word}