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