blob: edd8f6ad6106799e3facd85a45dfacd6eafd45da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
# $FreeBSD: releng/12.1/bin/sh/tests/execution/fork1.0 218850 2011-02-19 13:22:18Z jilles $
shname=${SH%% *}
shname=${shname##*/}
result=$(${SH} -c 'ps -p $$ -o comm=')
test "$result" = "ps" || exit 1
result=$(${SH} -c 'ps -p $$ -o comm=; :')
test "$result" = "$shname" || exit 1
|