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