1251149b3c
Approved by: ed (mentor)
8 lines
153 B
Plaintext
8 lines
153 B
Plaintext
# $FreeBSD$
|
|
|
|
result=$(sh -c 'ps -p $$ -o comm=')
|
|
test "$result" = "ps" || exit 1
|
|
|
|
result=$(sh -c 'ps -p $$ -o comm=; :')
|
|
test "$result" = "sh" || exit 1
|