unittests: RAppArmor unit tests

View source: R/unittests.R

unittestsR Documentation

RAppArmor unit tests

Description

This function loads the 'testthat' package and runs a number of unit tests for RAppArmor. Note that the tests assume that the main process is unconfined. Try running it both as root and as a regular user to cover both cases.

Usage

unittests()

Details

Occasionally, one or two tests might fail due to random fluctuations in available memory, cpu, etc. If this happens, try running the tests again, possibly with less other programs running in the background.


jeroen/RAppArmor documentation built on Jan. 12, 2024, 9:50 p.m.