Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README-PLUGINS | D | 11-Mar-2024 | 837 | 28 | 20 | |
nsPlugin.py | D | 11-Mar-2024 | 4.7 KiB | 142 | 121 | |
rootPlugin.py | D | 11-Mar-2024 | 493 | 20 | 13 | |
valgrindPlugin.py | D | 11-Mar-2024 | 4.9 KiB | 143 | 116 |
README-PLUGINS
1tdc.py will look for plugins in a directory plugins off the cwd. 2Make a set of numbered symbolic links from there to the actual plugins. 3Eg: 4 5tdc.py 6plugin-lib/ 7plugins/ 8 __init__.py 9 10-rootPlugin.py -> ../plugin-lib/rootPlugin.py 10 20-valgrindPlugin.py -> ../plugin-lib/valgrindPlugin.py 11 30-nsPlugin.py -> ../plugin-lib/nsPlugin.py 12 13 14tdc.py will find them and use them. 15 16 17rootPlugin 18 Check if the uid is root. If not, bail out. 19 20valgrindPlugin 21 Run the command under test with valgrind, and produce an extra set of TAP results for the memory tests. 22 This plugin will write files to the cwd, called vgnd-xxx.log. These will contain 23 the valgrind output for test xxx. Any file matching the glob 'vgnd-*.log' will be 24 deleted at the end of the run. 25 26nsPlugin 27 Run all the commands in a network namespace. 28