summary refs log tree commit diff
path: root/bin/cash/tests/errors/assignment-error2.0
blob: 10b7c2ad404c35d81da7f1c972e689182b041f0e (plain) (blame)
1
2
3
4
5
6
7
8
# $FreeBSD: releng/12.0/bin/sh/tests/errors/assignment-error2.0 216870 2011-01-01 13:26:18Z jilles $

set -e
HOME=/
readonly HOME
cd /sbin
{ HOME=/bin cd; } 2>/dev/null || :
[ "$(pwd)" != /bin ]