xref: /freebsd/bin/sh/tests/errors/assignment-error2.0 (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1# $FreeBSD$
2
3set -e
4HOME=/
5readonly HOME
6cd /sbin
7{ HOME=/bin cd; } 2>/dev/null || :
8[ "$(pwd)" != /bin ]
9