]>
Commit | Line | Data |
---|---|---|
deb63bfb | 1 | # $FreeBSD: head/bin/sh/tests/builtins/trap3.0 218889 2011-02-20 14:18:58Z jilles $ |
71aad674 A |
2 | |
3 | { | |
4 | trap '' garbage && exit 3 | |
5 | trap - garbage && exit 3 | |
6 | trap true garbage && exit 3 | |
7 | trap '' 99999 && exit 3 | |
8 | trap - 99999 && exit 3 | |
9 | trap true 99999 && exit 3 | |
10 | } 2>/dev/null | |
11 | exit 0 |