summary refs log tree commit diff
path: root/bin/cash/tests/builtins/exit1.0
blob: 0ca4279c712343966ad62c796bb1452028d3a3d6 (plain) (blame)
1
2
3
4
5
6
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/exit1.0 216871 2011-01-01 15:25:15Z jilles $

# exit with an argument should overwrite the exit status in an EXIT trap.

trap 'true; exit $?' 0
false