projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2eef5a7385375990c26c9cd833cb80f0cdc3af1c
[dragonfly.git]
/
tools
/
regression
/
bin
/
sh
/
builtins
/
for2.0
1
# $FreeBSD: src/tools/regression/bin/sh/builtins/for2.0,v 1.1 2012/01/22 14:00:33 jilles Exp $
2
3
r=x
4
f() { return 42; }
5
f
6
for i in x; do
7
r=$?
8
done
9
[ "$r" = 42 ]