summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/var_nested1.tests
blob: 59e4a14fa1bd7796c80d5beafad41ca504ae2560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
f() { a=A; b=B; }

a=a
b=b
f
echo Expected:AB Actual:$a$b

a=a
b=b
b= f
echo Expected:Ab Actual:$a$b

a=a
b=b
a= b= f
echo Expected:ab Actual:$a$b