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