break5.4 revision 251180
1251180Sjilles# $FreeBSD: head/tools/regression/bin/sh/builtins/break5.4 251180 2013-05-31 14:45:25Z jilles $ 2251180Sjilles 3251180Sjilles# Although this is not specified by POSIX, some configure scripts (gawk 4.1.0) 4251180Sjilles# appear to depend on it. 5251180Sjilles# In some uncommitted code, the subshell environment corrupted the outer 6251180Sjilles# shell environment's state. 7251180Sjilles 8251180Sjilles(for i in a b c; do 9251180Sjilles exit 3 10251180Sjillesdone) 11251180Sjillesbreak 12251180Sjillesexit 4 13