summary refs log tree commit diff
path: root/bin/cash/tests/builtins/exit2.8
blob: ee747ccdac528198107130b65902975453736a05 (plain) (blame)
1
2
3
4
5
6
7
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/exit2.8 217172 2011-01-08 23:00:38Z jilles $

# exit without arguments is the same as exit $? outside a trap.

trap 'true; true' 0
(exit 8)
exit