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