]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - bin/sh/tests/builtins/for3.0
Fix multiple vulnerabilities in rtsold.
[FreeBSD/FreeBSD.git] / bin / sh / tests / builtins / for3.0
1 # $FreeBSD$
2
3 r=x
4 f() { return 42; }
5 for i in x`f`; do
6         r=$?
7 done
8 [ "$r" = 42 ]