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