xref: /freebsd/bin/sh/tests/expansion/export1.0 (revision e1c4c8dd8d2d10b6104f06856a77bd5b4813a801)
1
2w='@ vv=6'
3
4v=0 vv=0
5export \v=$w
6[ "$v" = "@" ] || echo "Expected @ got $v"
7[ "$vv" = "6" ] || echo "Expected 6 got $vv"
8
9HOME=/known/value
10
11export \v=~
12[ "$v" = \~ ] || echo "Expected ~ got $v"
13