blob: 025f0682554d7cfabe32c63eae034519ef066845 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# $FreeBSD: head/bin/sh/tests/builtins/return8.0 255215 2013-09-04 22:10:16Z jilles $
if [ "$1" = nested ]; then
return 17
fi
f() {
set -- nested
. "$0"
return $(($? ^ 1))
}
f
exit $(($? ^ 16))
|