xref
: /
freebsd
/
bin
/
sh
/
tests
/
execution
/
fork3.0
(revision 13de33a5dc2304b13d595d75d48c51793958474f)
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