Part of lp.buildmaster.tests.harness View In Hierarchy
Method | precreateLogfile | Precreate a logfile in the root. |
Method | setUpRoot | Create TacTestSetup.root for storing the log and pid files. |
Method | root | Directory where log and pid files will be stored. |
Method | tacfile | Absolute path to the 'buildd-manager' tac file. |
Method | pidfile | The tac pid file path. |
Method | logfile | The tac log file path. |
Inherited from TacTestSetup:
Method | setUp | Undocumented |
Method | removeLog | Undocumented |
Method | truncateLog | Truncate the log file. |
Method | daemon_directory | Undocumented |
Method | _hasDaemonStarted | Has the daemon started? |
Parameters | content | A string to use as the content of the file. |
repeat | The number of times to repeat the string in the file. This is meant to be used to easily create larger files. |
TacTestSetup.root
for storing the log and pid files.
Remove the directory and create a new one if it exists.