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