xref: /freebsd/bin/sh/tests/expansion/readonly1.0 (revision 6ae1554a5d9b318f8ad53ccc39fa5a961403da73)
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