xref
: /
freebsd
/
bin
/
sh
/
tests
/
execution
/
fork3.0
(revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
# $FreeBSD$
2
3
result=$(${SH} -c 'f() { ps -p $$ -o comm=; }; f')
4
test "$result" = "ps"
5