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