mirror of
https://github.com/opnsense/src.git
synced 2026-04-04 08:55:18 -04:00
9 lines
315 B
Text
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.
|