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