]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - tools/regression/bin/sh/execution/fork1.0
Copy head to stable/8 as part of 8.0 Release cycle.
[FreeBSD/stable/8.git] / tools / regression / bin / sh / execution / fork1.0
1 # $FreeBSD$
2
3 result=$(sh -c 'ps -p $$ -o comm=')
4 test "$result" = "ps" || exit 1
5
6 result=$(sh -c 'ps -p $$ -o comm=; :')
7 test "$result" = "sh" || exit 1