mneumann's projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git]
/
tools
/
regression
/
bin
/
sh
/
builtins
/
break2.0
1
# $FreeBSD: src/tools/regression/bin/sh/builtins/break2.0,v 1.1 2010/08/18 20:26:50 jilles Exp $
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