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