]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/errors/assignment-error2.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / errors / assignment-error2.0
1 # $FreeBSD: head/bin/sh/tests/errors/assignment-error2.0 216870 2011-01-01 13:26:18Z jilles $
2
3 set -e
4 HOME=/
5 readonly HOME
6 cd /sbin
7 { HOME=/bin cd; } 2>/dev/null || :
8 [ "$(pwd)" != /bin ]