summary refs log tree commit diff
path: root/bin/cash/tests/expansion/cmdsubst9.0
blob: 4a9a5094485b0ff928b282d123bd5310267ba068 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/cmdsubst9.0 216819 2010-12-30 15:04:59Z jilles $

set -e

cd /
dummy=$(cd /bin)
[ "$(pwd)" = / ]

v=1
dummy=$(eval v=2)
[ "$v" = 1 ]