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