d98d6a898404114b2898cccd4f0b0d6576314c8e
[dragonfly.git] / tools / regression / bin / sh / execution / fork1.0
1 # $FreeBSD: src/tools/regression/bin/sh/execution/fork1.0,v 1.2 2010/10/12 18:20:38 obrien Exp $
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