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