xref: /freebsd/bin/sh/tests/expansion/export1.0 (revision e8d8bef961a50d4dc22501cde4fb9fb0be1b2532)
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