r-lib/processx

kill-tree test failure on macOS

gaborcsardi opened this issue · 4 comments

Failure (test-kill-tree.R:222:3): run cleanup
any(grepl(btmp, cmd)) is not FALSE

`actual`:   TRUE
`expected`: FALSE
Backtrace:
 1. base::tryCatch(...)
      at test-kill-tree.R:222:2
 5. testthat::expect_false(any(grepl(btmp, cmd)))
      at test-kill-tree.R:225:4

This is because of r-lib/ps#121

Not much we can do about it, except for documenting it.

We can also fix the test case, though.

I just removed the test in the end: 112f825