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