]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/bin/sh/builtins/break2.0
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / tools / regression / bin / sh / builtins / break2.0
1 # $FreeBSD$
2
3 # It is not immediately obvious that this should work, and someone probably
4 # relies on it.
5
6 while :; do
7         trap 'break' USR1
8         kill -USR1 $$
9         echo bad
10         exit 1
11 done
12 echo good