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