193707cbaSBrenda J. Butlertdc.py will look for plugins in a directory plugins off the cwd. 293707cbaSBrenda J. ButlerMake a set of numbered symbolic links from there to the actual plugins. 393707cbaSBrenda J. ButlerEg: 493707cbaSBrenda J. Butler 593707cbaSBrenda J. Butlertdc.py 693707cbaSBrenda J. Butlerplugin-lib/ 793707cbaSBrenda J. Butlerplugins/ 893707cbaSBrenda J. Butler __init__.py 993707cbaSBrenda J. Butler 10-rootPlugin.py -> ../plugin-lib/rootPlugin.py 1093707cbaSBrenda J. Butler 20-valgrindPlugin.py -> ../plugin-lib/valgrindPlugin.py 1193707cbaSBrenda J. Butler 30-nsPlugin.py -> ../plugin-lib/nsPlugin.py 1293707cbaSBrenda J. Butler 1393707cbaSBrenda J. Butler 1493707cbaSBrenda J. Butlertdc.py will find them and use them. 1593707cbaSBrenda J. Butler 1693707cbaSBrenda J. Butler 1793707cbaSBrenda J. ButlerrootPlugin 1893707cbaSBrenda J. Butler Check if the uid is root. If not, bail out. 1993707cbaSBrenda J. Butler 2093707cbaSBrenda J. ButlervalgrindPlugin 2193707cbaSBrenda J. Butler Run the command under test with valgrind, and produce an extra set of TAP results for the memory tests. 2293707cbaSBrenda J. Butler This plugin will write files to the cwd, called vgnd-xxx.log. These will contain 2393707cbaSBrenda J. Butler the valgrind output for test xxx. Any file matching the glob 'vgnd-*.log' will be 2493707cbaSBrenda J. Butler deleted at the end of the run. 2593707cbaSBrenda J. Butler 2693707cbaSBrenda J. ButlernsPlugin 2793707cbaSBrenda J. Butler Run all the commands in a network namespace. 28