summary refs log tree commit diff
path: root/bin/cash/tests/expansion/readonly1.0
blob: 7040df8977b2d59bcb8525787dff2fda6143fe28 (plain) (blame)
1
2
3
4
5
6
7
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/readonly1.0 238468 2012-07-15 10:19:43Z jilles $

w='@ @'

v=0 HOME=/known/value
readonly v=~:~/:$w
[ "$v" = "$HOME:$HOME/:$w" ] || echo "Expected $HOME/:$w got $v"