]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - tools/regression/bin/sh/execution/fork1.0
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
[FreeBSD/releng/9.0.git] / tools / regression / bin / sh / execution / fork1.0
1 # $FreeBSD$
2
3 shname=${SH%% *}
4 shname=${shname##*/}
5
6 result=$(${SH} -c 'ps -p $$ -o comm=')
7 test "$result" = "ps" || exit 1
8
9 result=$(${SH} -c 'ps -p $$ -o comm=; :')
10 test "$result" = "$shname" || exit 1