xref: /freebsd/bin/sh/tests/expansion/cmdsubst9.0 (revision d39bd2c1388b520fcba9abed1932acacead60fba)
1
2set -e
3
4cd /
5dummy=$(cd /bin)
6[ "$(pwd)" = / ]
7
8v=1
9dummy=$(eval v=2)
10[ "$v" = 1 ]
11