Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/tools/test/stress2/testcases/README
39537 views
All test programs must implement these three procedures:

int setup(int nb)
void cleanup(void)
int test(void)

The setup() procedure is called once before test() is called multiple times
until timeout.  After timeout cleanup() is called.
test() should periodically test the global variable done_testing and return.