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