test_killtree: Fix infinite loop on Linux

GNU `ps` requires the `-f` flag to show each running process's
command-line arguments (needed by this test to know which processes are
running; since they are shell scripts, they only appear as "bash" in
the `ps` output if I don't add the `-f` flag).

`-f` also works with BSD sed (tested on OS X).