]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - bin/sh/tests/expansion/cmdsubst9.0
Sync sh(1) in stable/10 to head.
[FreeBSD/stable/10.git] / bin / sh / tests / expansion / cmdsubst9.0
1 # $FreeBSD$
2
3 set -e
4
5 cd /
6 dummy=$(cd /bin)
7 [ "$(pwd)" = / ]
8
9 v=1
10 dummy=$(eval v=2)
11 [ "$v" = 1 ]