]>
Commit | Line | Data |
---|---|---|
deb63bfb | 1 | # $FreeBSD: head/bin/sh/tests/builtins/break5.4 251180 2013-05-31 14:45:25Z jilles $ |
71aad674 A |
2 | |
3 | # Although this is not specified by POSIX, some configure scripts (gawk 4.1.0) | |
4 | # appear to depend on it. | |
5 | # In some uncommitted code, the subshell environment corrupted the outer | |
6 | # shell environment's state. | |
7 | ||
8 | (for i in a b c; do | |
9 | exit 3 | |
10 | done) | |
11 | break | |
12 | exit 4 |