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