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