diff options
-rw-r--r-- | tools/regression/bin/sh/expansion/export1.0 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/expansion/export1.0 b/tools/regression/bin/sh/expansion/export1.0 new file mode 100644 index 0000000..4ee3ef4 --- /dev/null +++ b/tools/regression/bin/sh/expansion/export1.0 @@ -0,0 +1,13 @@ +# $FreeBSD$ + +w='@ vv=6' + +v=0 vv=0 +export \v=$w +[ "$v" = "@" ] || echo "Expected @ got $v" +[ "$vv" = "6" ] || echo "Expected 6 got $vv" + +HOME=/known/value + +export \v=~ +[ "$v" = \~ ] || echo "Expected ~ got $v" |