summary refs log tree commit diff
path: root/bin/cash/tests/execution/fork3.0
blob: 3ed8cc5e697a61842bc9d32f9f844b14f3949583 (plain) (blame)
1
2
3
4
# $FreeBSD: releng/12.0/bin/sh/tests/execution/fork3.0 220978 2011-04-23 22:28:56Z jilles $

result=$(${SH} -c 'f() { ps -p $$ -o comm=; }; f')
test "$result" = "ps"