xref: /freebsd/bin/sh/tests/expansion/readonly1.0 (revision 744bfb213144c63cbaf38d91a1c4f7aebb9b9fbc)
1# $FreeBSD$
2
3w='@ @'
4
5v=0 HOME=/known/value
6readonly v=~:~/:$w
7[ "$v" = "$HOME:$HOME/:$w" ] || echo "Expected $HOME/:$w got $v"
8