]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - bin/sh/tests/execution/subshell2.0
Sync sh(1) in stable/10 to head.
[FreeBSD/stable/10.git] / bin / sh / tests / execution / subshell2.0
1 # $FreeBSD$
2
3 f() {
4         x=2
5 }
6 (
7         x=1
8         f
9         [ "$x" = 2 ]
10 )