sh: Allow EV_EXIT through function calls.
[dragonfly.git] / tools / regression / bin / sh / execution / fork3.0
1 # $FreeBSD: src/tools/regression/bin/sh/execution/fork3.0,v 1.1 2011/04/23 22:28:56 jilles Exp $
2
3 result=$(${SH} -c 'f() { ps -p $$ -o comm=; }; f')
4 test "$result" = "ps"