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