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