opnsense-src/tools/test/stress2/testcases/README
Peter Holm 8a272653d9 stress2: Initial import
Discussed with:	 kib
2021-03-03 15:11:40 +01:00

9 lines
315 B
Text

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.