sh: Sync with FreeBSD:
[dragonfly.git] / tools / regression / bin / sh / execution / fork3.0
1 # $FreeBSD: head/tools/regression/bin/sh/execution/fork3.0 220978 2011-04-23 22:28:56Z jilles $
2
3 result=$(${SH} -c 'f() { ps -p $$ -o comm=; }; f')
4 test "$result" = "ps"