]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/execution/fork3.0
shell_cmds-216.40.4.tar.gz
[apple/shell_cmds.git] / sh / tests / execution / fork3.0
1 # $FreeBSD: head/bin/sh/tests/execution/fork3.0 220978 2011-04-23 22:28:56Z jilles $
2
3 result=$(${SH} -c 'f() { ps -p $$ -o comm=; }; f')
4 test "$result" = "ps"