]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/builtins/for3.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / for3.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/builtins/for3.0 230463 2012-01-22 14:00:33Z jilles $
71aad674
A
2
3r=x
4f() { return 42; }
5for i in x`f`; do
6 r=$?
7done
8[ "$r" = 42 ]