]>
Commit | Line | Data |
---|---|---|
deb63bfb | 1 | # $FreeBSD: head/bin/sh/tests/expansion/export1.0 238430 2012-07-13 22:29:02Z jilles $ |
71aad674 A |
2 | |
3 | w='@ vv=6' | |
4 | ||
5 | v=0 vv=0 | |
6 | export \v=$w | |
7 | [ "$v" = "@" ] || echo "Expected @ got $v" | |
8 | [ "$vv" = "6" ] || echo "Expected 6 got $vv" | |
9 | ||
10 | HOME=/known/value | |
11 | ||
12 | export \v=~ | |
13 | [ "$v" = \~ ] || echo "Expected ~ got $v" |