tests/testthat/test-process.R

context("process stuff")

test_that("process stuff", {
  expect_is(getuid(), "integer")
  expect_is(getgid(), "integer")
  expect_is(getpriority(), "integer")
  
  setpgid()
  expect_equal(getpid(), getpgid())
})
jeroen/unix documentation built on Feb. 22, 2024, 12:52 p.m.