0001 tdc.py will look for plugins in a directory plugins off the cwd.
0002 Make a set of numbered symbolic links from there to the actual plugins.
0003 Eg:
0004
0005 tdc.py
0006 plugin-lib/
0007 plugins/
0008 __init__.py
0009 10-rootPlugin.py -> ../plugin-lib/rootPlugin.py
0010 20-valgrindPlugin.py -> ../plugin-lib/valgrindPlugin.py
0011 30-nsPlugin.py -> ../plugin-lib/nsPlugin.py
0012
0013
0014 tdc.py will find them and use them.
0015
0016
0017 rootPlugin
0018 Check if the uid is root. If not, bail out.
0019
0020 valgrindPlugin
0021 Run the command under test with valgrind, and produce an extra set of TAP results for the memory tests.
0022 This plugin will write files to the cwd, called vgnd-xxx.log. These will contain
0023 the valgrind output for test xxx. Any file matching the glob 'vgnd-*.log' will be
0024 deleted at the end of the run.
0025
0026 nsPlugin
0027 Run all the commands in a network namespace.