xref: /freebsd/bin/sh/tests/execution/fork3.0 (revision 396c556d77189a5c474d35cec6f44a762e310b7d)
1# $FreeBSD$
2
3result=$(${SH} -c 'f() { ps -p $$ -o comm=; }; f')
4test "$result" = "ps"
5