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