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