]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/builtins/break2.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / break2.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/builtins/break2.0 211467 2010-08-18 20:26:50Z jilles $
71aad674
A
2
3# It is not immediately obvious that this should work, and someone probably
4# relies on it.
5
6while :; do
7 trap 'break' USR1
8 kill -USR1 $$
9 echo bad
10 exit 1
11done
12echo good