1# $FreeBSD: head/tools/regression/bin/sh/errors/assignment-error2.0 216870 2011-01-01 13:26:18Z jilles $
2
3set -e
4HOME=/
5readonly HOME
6cd /sbin
7{ HOME=/bin cd; } 2>/dev/null || :
8[ "$(pwd)" != /bin ]
9