]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - bin/sh/tests/execution/fork1.0
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / bin / sh / tests / 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