diff options
Diffstat (limited to 'shell_cmds/sh/tests/execution/fork3.0')
| -rw-r--r-- | shell_cmds/sh/tests/execution/fork3.0 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/execution/fork3.0 b/shell_cmds/sh/tests/execution/fork3.0 new file mode 100644 index 0000000..008be7b --- /dev/null +++ b/shell_cmds/sh/tests/execution/fork3.0 @@ -0,0 +1,4 @@ +# $FreeBSD: head/bin/sh/tests/execution/fork3.0 220978 2011-04-23 22:28:56Z jilles $ + +result=$(${SH} -c 'f() { ps -p $$ -o comm=; }; f') +test "$result" = "ps" |
