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